Wordpress Technology

Wordpress Tips, Tutorials, Hacks

Naked wordpress 3.5 compatible themes

Naked wordpress 3.5 compatible theme If you know more please to throw the links in comments!

Posted in WordPress Themes

Comments Off

Hidden WordPress Settings

Many users of FireFox and Opera should know what the about:config means. ( It is a page with all current settings and plugins installed in the browser). Did you ever know that there is a similar special setting page for WordPress? If you try http://your-blog/wp-admin/options.php the page with the settings appears and you can review […]

Posted in WordPress Tips

Comments Off

Opent wpomatic.php, Replace With Next Code Replace with You also can empty table wp_wpo_campaign_post table to start over the autoblog.

Posted in Plugin Hacks, WordPress Hacks

Comments Off

Eliminate Comment Spam

Every blogger knows that comment spam is such a pain. Akismet is good solution, but not always. Why not to block spammers, instead of mark them as spam or suspicious as a spam. The code below looks for HTTP reffere in the request header and blocks the comments if the reffer is wrong or not […]

Plugin Directory and URL in WordPress

Using PHP functions to find the directory and url of current script might give you wrong result. However, there is a better way in WordPress to find plugin directory and URL.

Recently I had a task to cut off the piece of content from the post displaing on front page. To resolve it, the wordpress function get_the_content() is defined. In order to fully undestand what we are talking about, review next code: Using this method the html tags, which presented in original code, are deleted. To […]

To print out the post with specified field/value we have to find the main loop to display the posts and add query_posts() function, as showed below.

Posted in WordPress Hacks

Comments Off

Remove Symbol [...] From Post Excerpt

If in the current WordPress template the announcements are outputed by the_excerpt() function and the excerpt field is not filled, than we can watch the symbol [...]. In order to get rid of this symbol, you would only need to insert next code in the functions.php of your theme.

Replace [...] By Link ‘Read More’

Should you need to replace [...] by link ‘Read More’, you would only need to create next function in ‘popular’ functions.php file.

Highlight Last Post

There may be a need for a special appearance of the first post (for example, when you need to make a completely different design from the other posts), whether the main page, the archives, search, etc. This problem is solved by adding the special CSS-class with a simple PHP-code. Initially, we have next standard wordpress […]

© 2009 | Made by Vancouver Web Design | Internet Marketing