Grabbing specific content
Right now I’m doing this (pseudo code) posts = content_type(“special_stuff”); $i = 0; $n = 5; $while(have_posts) { if($i == $n) { // … Read more
Right now I’m doing this (pseudo code) posts = content_type(“special_stuff”); $i = 0; $n = 5; $while(have_posts) { if($i == $n) { // … Read more
I want to show 8 recent products from multiple authors on the frontpage. Need to show 1 recent product per author. Currently i’m … Read more
trying to display random posts from each category that my custom post belongs to (it is related to 2 categories). I am trying … Read more
I’m wondering how I can show recent posts from the same taxonomy as the post that’s currently being viewed (working with custom post … Read more
This might be a completely “I’m still new to WP” type question, but I ran into some interesting output when using get_posts() and … Read more
I’m trying to sort posts based on one post meta value and date. I’m using this plugin ( https://github.com/JonMasterson/WordPress-Post-Like-System ) to add like … Read more
So I have several custom post types on my site and would like to have a place on my home page that will … Read more
In the recent posts widget I have the post link first, and the post date second item, How can I change, to display … Read more
Basically I’m looking to add this line of code to posts published within the last 24hrs: <span class=”new”>New!</span> When the post is over … Read more
I have an issue with a shortcode I have built. The short code pulls the most recent posts based off of certain parameters. … Read more