I launched mysql and confirmed this query returns a result: mysql> SELECT * FROM wp_posts WHERE post_parent = 68 AND post_type="attachment" AND post_name="side-logo-auto2" LIMIT 1; 1 row in set...
I am trying to loop through all the post to get the top most shared posts on social network. I want to use the date_query parameter in the WP_query...
So, i’m having a bit of an issue with a plugin i’m developing, I wonder if anyone can shed any light on the situation, as many, MANY searches have...
I have more than 500 posts and I want to limit only 100 posts with pagination. So, 10 pages with 10 posts in each. Presenting you the code: $paged...
I have spent hours today on a maddening issue I was having with displaying a custom post type. Everything displayed beautifully, except the pagination simply would not work properly....
I’m using the following code to attempt to loop through each of the terms within my custom taxonomy category-film and then output the term name as a heading together...
When I click to insert/edit link in the tinyMCE rich editor for a post, then click “Or link to existing content”, it shows only posts that are live and...
I’m using gravity form to create some custom post type – as events. Everything is working great, There is some date field to setup the event from x to...
My website’s been incredibly slow and I installed the query monitor plugin to learn more about the issues that caused this. When loading "New post" page, the following query...
I have a worpresss 4.0.12 website; i created a custom template category-$id.php in which I have to show post ordering them by Year DESC and by month ASC (or...