Add function after the_content
I have the following function within a simple plugin:
I have the following function within a simple plugin:
Problem: I’m trying to echo tags to list items but only manage to echo the “else statement”.
I created a query with arguments see blow.
On the page I see an error in a loop
the below code does not seem to return an image url at all, chrome inspector says source is unknown
I stuck on this issues, looks simple but can’t find resolution to fix it.
I try to use a template part in my loop.
I’ve got a custom loop function in my child theme, in the templates.php file to loop through specific post types (‘listings’) and then put it into an array to use into a part of my template.
I’m digging into shortcodes expert level 😄
I have a custom taxonomy for a custom post type. I need all available terms (and their descriptions) to display on a single post from this post type, regardless of if each term is applied to it. Basically if a post has the term it will be bold and if it doesn’t have the term it will be greyed out but visible. I was able to get it to work with conditional statements for each term, but I want the client to be able to add or remove terms in the future without my having to update the template each time.
I’m having the weirdest error.