Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
1 answer
28 views

Can't get custom posts of taxonomy to show

I have a custom post type called 'brand', with a taxonomy of 'brand-categories'. try as I might, I cannot find a way to display a list of posts in the current taxonomy. can anyone help? <?php ...
Captain Dando's user avatar
1 vote
1 answer
111 views

Insert content of a post into another

I am writing a little plugin that creates a custom post type. I created a filter that copies the content of such a post into another one. Thereby I loop through all the custom posts. For each one I ...
Tobi's user avatar
  • 11
0 votes
1 answer
559 views

Loop returns the current page's permalink and guid instead of the post in the loop

Here is my code: global $post; $args = array( 'posts_per_page' => -1, 'post_type' => 'post', ); $the_query = new WP_Query( $args ); $array = get_object_vars($the_query); //...
Solorside's user avatar
0 votes
2 answers
1k views

Get post content from outside the loop with plugin shortcode usability

This is great for showing just the raw content... Get post content from outside the loop But i'd also like to apply shortcodes from various plugins to my content to affect the content. What would I ...
Pete's user avatar
  • 1,048
0 votes
1 answer
1k views

Where to find the code used to render a page that has a shortcode and a template defined?

I'm new to WP and trying to configure the 'My Account' page on a WP site. The site uses the Paid Memberships Pro (PMP) plugin. In the WP admin console > Pages, there is a page called 'My Account'. ...
rycornell's user avatar
  • 101