Quantcast
Channel: Bryan Joseph King » Wordpress
Browsing all 10 articles
Browse latest View live

Displaying Search Text in your WordPress Search Template

Here’s how you can display the text searched in your WordPress search template. Just add code below: <?php the_search_query(); ?> For example: <h1>Search Results for <?php...

View Article


How To Include Search Text In WordPress query_posts()

For those that are wondering on how to include the search text in WordPress query_posts(), here’s how you can do it. Just include $query_string in your query_posts just like below:...

View Article


Enable Sessions in WordPress

In order to activate session variables, we use the session_start(). The best way to enable sessions in WordPress is to add the code below into our functions.php: if(!session_id())  add_action('init',...

View Article

How To Remove UL from wp_nav_menu() in WordPress 3

WordPress 3 new wp_nav_menu() function is a very good addition but I noticed a missing feature to this which is how to remove the UL from wp_nav_menu(). I tried going over the WordPress Codex but to no...

View Article

Fix Page Template Missing In WordPress

While working on a theme for a client of mine, I encountered this problem and I can no longer find the page template when adding or editing pages. I’m not really sure what caused this as I didn’t even...

View Article


Image may be NSFW.
Clik here to view.

How To Customize WordPress Login Page

Customizing your wordpress login page is perfect when you have a membership site as a lot of people visits your login page so it’s important that you make it look good. Good thing about doing this is,...

View Article

Delete WordPress Post Revisions For Faster Page Load

After a while of publishing a lot of posts on your wordpress blog you’ll notice that there’s a lot of post revisions saved on your database. Post revisions are useful as they are like backups but after...

View Article

Implement WordPress 3.0 Menu On Twenty Ten Theme

If ever you’re using the twenty then theme and you want to Implement WordPress 3.0 Menu On Twenty Ten Theme, you can follow the steps below to do it: Go to Theme Editor and open header.php Look for and...

View Article


WordPress Remove /category From Category Permalink

Not really sure if removing /category from category permalink can really help when it comes to SEO. But I had a client that wanted this to happen so I did some research and tested some methods and a...

View Article


WordPress Display Last Comment Date

There are some cases that you may want to display the date when the post was last commented. Here’s how you can display last comment date in WordPress: $PostID = get_the_ID(); $GetCommentDateByPostID =...

View Article
Browsing all 10 articles
Browse latest View live