Articles of posts

How to make different custom post layouts?

I am new to wordpress, and have encountered some difficulty in making my own custom layouts. I’m using _S framework ( as well as Custom Post Templates plugin. I’m using custom fields to inject images above the title of posts currently, and that’s worked so far but I encounter problems when trying to make index-only […]

Pagination not working on Custom Page Template

I searched a lot on this but I can’t figure out why my code is not working. I published a page with slug “blog” that uses a custom built template “page-blog.php” that I build from editing the original “page.php”. I want to loop latest posts, with pagination. For numbered pagination I tried several plugins. They […]

How do I publish portfolio items with a future date?

I am trying to publish portfolio items with a future date (using for an event based website) and I can’t see to find any plugins or anything. I have seen them for generic posts, such as “The Future is Now” and things like that. I don’t know wordpress well enough to code my own solution […]

Admin – no Featured image choice in create new/page|post

I am developing a WP theme and I wanted to add a thumbnail/featured image to a new page/post but there is no such option/choice – like it used to be, I am using WP 3.8.1, I did try to turn off all the plugins – didnt help, I also checked the console for any errors […]

Bulk delete WordPress posts with phpMyAdmin

I have over 8,000 posts generated by wp-o-matic and I want to get rid of all of them. I want to execute this query in phpMyAdmin. I just want to make sure this is safe to run and it’s not wiping out my pages. This is the query: DELETE FROM ‘wp_posts’ WHERE ‘post_type’ = ‘post’ […]

Hide custom metabox value from custom fields

Before I ask the question, I tried to added _ to the custom field, but it’s not working, at least with my code. I just want to hide the value of my meta box from appearing in the custom fields. When I added _ to the code, the metabox stopped working. Here’s the code: //Creating […]

Display an authors post on a single page only when they are logged in

I am having trouble finding a solution or the correct tutorial on how to get this done, I have been looking for weeks and still no outcome. What I am trying to accomplish is display all post on the front end (single.php) of an author (Author A) who is logged on. When Author A logs […]

Add scripts on custom post add/edit pages Not Working

im Trying to Add scripts on custom post add/edit pages but Not Working PHP Code ,(it’s working and Get Js Code) if(strstr($_SERVER[‘REQUEST_URI’], ‘wp-admin/post-new.php’) || strstr($_SERVER[‘REQUEST_URI’], ‘wp-admin/page-new.php’)) { wp_enqueue_script(‘myscript’, ‘’); The Probleme is Js Code Not Give Result : Check my Js and HTMl Code

Echo the number of posts being displayed

I had this code working as I needed it to…but now I need to add a post count where the “____” is, beside “posters”, so I can manipulate the css depending on how many posters are showing, for example: <div id=”posters1″> or <div id=”posters2″> or <div id=”posters3″>, etc. I believe this can be done with […]

How to remove specific tag from multiple posts?

I am trying to find a method to delete a certain tag, that is used in my theme to display differently “featured” and “dont-miss” posts, from multiple posts and I was not able to find a solution. Or the only solution that I found is quick-edit each post manually. I know that adding bulk tags […]