Introducing the ONLY search engine optimization software product that has been 100% PROVEN to dramatically increase your rankings in Google, Yahoo, and Bing. Get it now!
Well, by a stroke of luck and some coffee with cigarettes, I managed to resolve the issue.
Well, by a stroke of luck and some coffee with cigarettes, I managed to resolve the issue: Here's what I did: 1. Test if post ID is captured in the rel attribute and loaded properly in the post_id variable I inserted an alert call back on the AJAX / JQUERY snippet to see if the post ID was even loading into the post_id variable right. This is how it looked like: $(document).
Ready(function(){ $. AjaxSetup({cache:false}); $(". Trick").
Click(function(){ var post_id = $(this). Attr("rel"); alert(post_id); $("#single-home-container"). Html("loading..."); $("#single-home-container").
Load("/single-home/",{id:post_id}); return false; }); }); So when I clicked on the link, the call back gave the accurate post ID associated with the post. This kinda isolated the problem right down to the URL defined in the .load() function. It seemed that the post ID was just not sufficient to load the post into defined DIV.2.
Change link's rel attribute from post ID to post permalink I decided that since the post ID was clearly not working I would instead use the post's permalink tag in the link's rel attribute. This is how it link's rel looked like previously: " href=""> And this is how it looks like now: " href=""> 3. Edit .load() function URL / value Following on from there, I had to make a change to the AJAX / JQUERY snippet so that it will not use the post ID anymore: $(document).
Ready(function(){ $. AjaxSetup({cache:false}); $(". Trick").
Click(function(){ var post_link = $(this). Attr("rel"); $("#single-home-container"). Html("loading..."); $("#single-home-container").
Load(post_link); return false; }); }); As you can see from the above, I've taken the link's rel attribute value (which is now the post's permalink) and thrown it into the post_link variable. This enables me to simply take that variable and place it into the .load() function, replacing /single-home/",{id:post_id} which obviously didn't work. VIOLA!
Problem solved. Though I have yet to test this, I believe that using the permalink in this instance actually cuts out the need to change the permalink structure in Wordpress as instructed by Emanuele Feronato in his post. Using the permalink in place of the post ID would perhaps also be better in terms of SEO too.So if anyone has the intent to dynamically load Wordpress posts into a defined DIV, you can probably try this out!
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.