473,406 Members | 2,954 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How To Disable Ajax Load Of Wordpress Post?

I've got a theme running on my wordpress site
that's powered by ajax and jquery and I've got
an issue with one of my posts where every
time I navigate around the website to that
particular post, it fails to load my thumbnails
in that post correctly unless I reload the page
manually in my browser or when I only type in
the post's url in my browser and then load on
its own without going through the main site
(ajax powered).
I would like to disable Ajax loading for just that
post/link and not the entire website. My
theme has a custom field for javascript and
jquery codes which requires the tag, if I'm
going to paste any codes in this field, there
should be a way to specify a link/url that
doesn't ajax-load right?
I already tried using some custom field
shortcode plugin to invoke a javascript page
refresh in the post but that didn't work until I
manually reloaded the post in my browser then
the shortcode was called and the post auto-
refreshed once.
I found somewhere that using this ->
Expand|Select|Wrap|Line Numbers
  1. data-
  2. ajax="false" 
in my page will work but I don't
know where or how to place it in that specific
post. Is there a way I could add some ajax-
compatible code to my post that will reload
the page ONCE automatically when it has been
loaded?

Please help, Thanks!
Nov 3 '13 #1
0 1508

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Ghafran Abbas | last post by:
Call this function from the Page_OnLoad event of your asp.net page. This will prevent the user from doing multiple post backs or button clicks. This was designed to not disable the button, because...
2
by: Larry | last post by:
I am wondering if anyone has any thoughts on the following issues once Ajax is incorporated into a page: Now that we have this Ajax stuff, users have the potential to not leave a page for a long...
14
by: FMDeveloper | last post by:
Currently transitioning from a shared host to a dedicated server. The same code that works on the old server is not working on the dedicated server. It is a simple AJAX request like: <code>...
8
by: Thomas Hansen | last post by:
Michael Schwarz the guru behind Ajax.NET Professional has in his latest blog officially declared that he is ABANDONING the project... : ( Read up more here;...
3
sunbin
by: sunbin | last post by:
Hi, I am having in a Trouble when working with dynamic checkboxes (i.e. checkboxes with the same name, e.g. <input type="checkbox" name = "check" value="dynamic integer value">) I have...
1
by: nicky77 | last post by:
Hi, apologies in advance is this may be a nonsensical ramble, but I'm hoping someone can give me some advice on how to solve the following problem: I'm developing a site where the main content is...
4
Claus Mygind
by: Claus Mygind | last post by:
I have a problem with some ajax communications on some users' computers. Sometimes data sent via ajax would not post to the database. I resolved the problem by deleting the user's profile and...
3
by: Terry Han | last post by:
I've used AJAX a little, but am wondering whether it can be used for this: A Javascript function which draws a shape using the HTML5 canvas tool, but which gets the coordinates of the shape from an...
0
damir
by: damir | last post by:
Is there a way in javascript or jquery to disable image before page is fully loaded? I'm trying to make my own lazy loader (because the original isn't usable) and I'm stuck with this. The point is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.