0
votes
0answers
17 views

How to build new WP_Query using url

How to build a WP_Query using a url in wp_ajax_nopriv action. I have a following url for example: "http://example.com?paged=2 so I need to build a WP_Query which will retrieve a second page of posts. ...
0
votes
0answers
76 views

Include other parameters in permalinks for better management of browser history

In single.php, I have the following items that I manage (create, update, hide) with jquery/ajax: a <select> tag in which I return all website categories. a second <select> tag in which I ...
0
votes
1answer
118 views

Leverage permalinks with AJAX

I'm trying to implement some AJAX to my theme, but there are a few things I cannot get my head (or Google) around. I have a custom post type named "Faculty" and a page displaying the featured image ...
4
votes
2answers
533 views

the_title() and the_permalink() won't work on AJAX calls

I've run into a strange problem. I have a custom loop built with get_posts that works fine when loading the page normally: <?php $rows = get_posts(array( 'post_type' => ...
2
votes
1answer
91 views

How to get full content including template HTML

I'm looking to get the page content between the header and footer (as Wordpress already does) that includes the template HTML (as this is going to be an AJAX request). Is there a function that will ...
0
votes
2answers
710 views

How to Custom Edit Post Title & Permalink Slug?

I'm trying to build some functionality where if you're logged into an admin account you'll see a small 'edit' link next to each post title. clicking will use jquery to create 2 form inputs - 1 with ...
0
votes
1answer
1k views

Post will not load via ajax

I have inherited a WP 3.2.1 site which uses prettyPhoto to load content via ajax. This was working before I enabled permalinks on the site. The Custom Post Type UI plugin is installed. I can browse to ...
0
votes
1answer
183 views

Can not call .php files after switching to %postname%

This $('#content').load("submenu.php"); works just fine with default permalinks When I switch to %postname% it does not work any more But, I can still go though to mysite.com/submenu.php and it ...