If you can’t get Custom Post Types showing up in a query you should make sure that if you aren’t specifying a post that that you specify any – post_type=any It’s also a good idea to do a query reset because there are many factors that can affect your queries.
Search the Wiki
Pagination with custom post type listing
After a looong day debugging thru wordpress core, I managed to solve this issue. Basicly, you CANT have a PAGE and a CUSTOM POST TYPE with the same name. If you do, the permalink rewrite rules will get confused and trigger a 404. A very simple solution I’m using is: The page that lists the Full Article…
Exclude posts or pages from search results
Would you like to be able to control which post or pages must be exclued from searches on your WordPress blog? If yes, this article will probably help you a lot. To achieve this, just simply paste the following code on the functions.php file from your theme. In this example, your wordpress posts with IDs Full Article…
Move NextGen Galleries to a new server/domain
How to re-import database tables for the NextGen Gallery Plugin when moving your WordPress website to a new domain – so your photo galleries work again! Sometimes a website’s content needs to be moved to a new domain. If there are pictures and plugins involved, the process gets a little more complicated. I wanted to Full Article…
Aged Type Effect in Photoshop
While working on the poster for DIT Fest last week I managed to create an impressive text effect that I will likely reuse for awhile. It’s very subtle and does not look like a filter. I’m simply adding a slightly aged, worn, or screen-printed look to any typeface. You can even apply this effect to Full Article…
The Best Security Plugins for WordPress
by WordPressSmith on May 10, 2010 Security should be everyone’s number one priority. This needs to be determined from the outset, and with WordPress’s growing popularity you can expect more and more hacks/hackers. If you have not heard already there are a few hacks already spreading through the WordPress community. However, there are plugins that Full Article…
Pictorial Tutorial on WordPress Security: Change the WP_ Prefix
by WordPressSmith on July 6, 2010 The best and most advisable way to do this is to use the plugin called WP Security Scan by Semper Fi Web Design. However, for some people the database table name prefix changing functionality of WP Security Scan doesn’t work. If that is the case, here is how you Full Article…
How to Add a Custom Message on the Login or Register Screen
For one of my projects, I was asked to make the entire WordPress Blog login protected whereby people had to request via a form on the site for access. In doing this everyone was redirected to the login form without a registration link (because they did not want to use the traditional WordPress registration and Full Article…
Exclude pages in a section (exclude_tree)
All you have to do is include this block of code in your template the same way you would the regular <?php wp_list_pages();?> tag. Page IDs that you would normally pass to exclude_tree go in the first line):
Mass Delete Pending Comments from WordPress
Run the Following SQL command on your database DELETE FROM wp_comments WHERE comment_approved = ‘0’