Skip to main content

Questions tagged [ajax]

Ajax - The core of WordPress uses Ajax only in the administration screens. For instance, Ajax is used for instant updates when you are doing comment moderation, and when you are adding and deleting items from lists such as categories, blogroll, and posts; Ajax is also the technology behind the auto-save functionality on post and page editing screens. Several themes and plugins also use Ajax; for instance, some post rating plugins.

-2 votes
1 answer
869 views

Ajax load more posts button

I'm trying to use this tutorial but it doesn't work: https://artisansweb.net/load-wordpress-post-ajax/ Correct order is: Post 4, Post 1, Post 3, Post 2. The first 2 posts are OK (before click), but ...
Marcin Urbańczyk's user avatar
-2 votes
1 answer
1k views

Wordpress portfolio pagination on home page

I am new to wordpress i am trying to add pagination to my home page that shows portfolios, example there are total of 80 portfolios when i open my site it automatically shows all 80 portfolios on home ...
user3912994's user avatar
-2 votes
1 answer
456 views

Send button using own contact form [closed]

I have an own contact template here , und built it according to this info. The submit button does not work because another event seems to block the reload of page. Looking in the console, I see an ...
Timo's user avatar
  • 101
-2 votes
1 answer
1k views

How can I json_encode the output of my function?

How can I json_encode the output of this function I use to get all attached images of a post? <?php function get_all_images($postid=0, $size='bigger', $attributes='') { if ($postid<1) $...
Gab's user avatar
  • 253
-2 votes
1 answer
166 views

Detecting IP Address of someone using 'copy' function [closed]

Is it possible through WordPress (through a plugin, PHP or otherwise) to detect the IP of someone copying (ctrl+c) content on my website, and have that data sent/displayed to an admin? Appreciate ...
distinctly's user avatar
-2 votes
1 answer
501 views

wordpress ajax always return 0

This is my ajax_script.js file: $(document).ready(function() { $("#color-submit").click(function() { $.ajax( { async:false, url:MyAjax.ajaxurl, ...
chetan's user avatar
  • 1
-3 votes
1 answer
931 views

ajax for visitors wordpress

I have this code that does ajax in wordpress it is working fine in admin page but i want it work in the main page of my theme <?php add_action( 'admin_footer', 'my_action_javascript' ); ...
loopy's user avatar
  • 1
-3 votes
1 answer
88 views

Widget won't work due to old JavaScript? Any ideas how to make it work? [closed]

I was trying to add this widget to my blog <!--BEGIN PROFILE WIDGET--> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript">&...
Malin Rouge's user avatar
-3 votes
2 answers
3k views

Can admin-ajax.php be used for spam purposes? And if yes, how to prevent that?

Today I've got a letter from my hosting provider that admin-ajax.php script had been sending spam until it was blocked. About two thousand spam messages were sent to different emails. I know if you ...
Pavel K's user avatar
  • 101
-3 votes
2 answers
222 views

Which function(s) to build a paged HTML table

are there built-in functions to build a modern HTML grid (as in grid control, not css grid layout) in WordPress? for example, one that is page-able and sortable.
Neil McGuigan's user avatar
-8 votes
3 answers
612 views

Jquery Slider for profile template

I want to show the posts under a category in my page.The first 5 posts should be shown when the page loads and When the user clicks the next button/link next 5 posts should be shown. Currently I show ...
MidhuN's user avatar
  • 507

15 30 50 per page
1
176 177 178 179
180