All Questions
5 questions
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
...
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 ...
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); //...
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 ...
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'. ...