17 Mar 2011Posted by admin
Why Use an Affiliate Link Cloaker? Affiliate marketing is a powerful revenue source for bloggers. Statistics show that a visitor has a much higher chance of clicking on a link that doesn’t look like an affiliate link. An affiliate link cloaker plugin cloaks your affiliate links and makes the link appear to be on your site which helps with the visitor click. Some of the WordPress affiliate link cloakers can automatically convert certain keywords that you specify into your cloaked affiliate links. This helps you automatically and easily replace hundreds of keywords ...
23 Feb 2011Posted by ivy
When using the WP eStore and Thesis Theme you may run into the issue of your images displaying too big or small. There is a simple fix for this as I will explain in this cheat sheet. The Thesis theme specifies a width for the input fields in it’s theme CSS. This makes it so images have a specific size and will cause them to be stretched  or smooched. To fix this issue all you need to do is override the CSS of the theme by adding the following CSS code in the ...
18 Feb 2011Posted by ivy
This little snippet of code will make it so the copyright year on your site is always current. We all tend to forget to change this after the new year. =)
23 Aug 2010Posted by admin
If you want to add some custom content at the end of every post (for example, the author info) then copy the following code and paste it in the “functions.php” file of your theme. [php] function add_post_content($content) { if(!is_feed() && !is_home()) { $content .= ‘<p>This article is written by ‘.the_author(); } return $content; } add_filter(‘the_content’, ‘add_post_content’); [/php] Now the custom content from the “add_post_content” function will be inserted below each of your posts.
2 Aug 2010Posted by admin
To randomize posts order, you simply have to use the query_posts() function before the WordPress loop like the following: <?php query_posts('orderby=rand'); ?> <?php //WordPress loop goes here ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?>
30 Jul 2010Posted by admin
By default the WordPress’s admin login looks like the following: If you want to change the logo to customize it then add the following piece of code to the “functions.php” file of your WordPress theme: add_action('login_head', 'wp_custom_login_logo'); function wp_custom_login_logo() { echo '<style type="text/css">'; echo 'h1 a { background-image:url('.get_bloginfo('template_directory').'/images/my-logo.gif) !important; }'; echo '</style>'; } Make sure to upload your custom logo (my-logo.gif) to the “images” directory of your wordpress theme.
26 Jul 2010Posted by admin
WordPress has many hooks that you as a plugin developer can take advantage of while developing a plugin. This page documents the API (Application Programming Interface) hooks available to WordPress plugin developers. This article is specifically about the API of “Hooks”, also known as “Filters” and “Actions”, that WordPress uses to set your plugin in motion. Available “add_action” Hooks Actions are (usually) triggered when the WordPress core calls do_action(). It can be used in the following way: add_action ('hook_name', 'your_function_name', [priority] , [accepted_args]); admin_footer admin_head admin_menu comment_closed comment_form comment_id_not_found comment_post delete_comment delete_post edit_comment ...
25 Jul 2010Posted by admin
If you are trying to tweak or develop a WordPress theme then this post should help making your life a bit easier. This post has a list of all the WordPress functions that you can use from your theme’s template file. Useful PHP Code for Header <?php bloginfo(‘name’); ?> Title of the site <?php wp_title(); ?> Title of the post or page <?php bloginfo(‘stylesheet_url’); ?> The style.css file’s location <?php bloginfo(‘pingback_url’); ?> Pingback URL for the site <?php bloginfo(‘template_url’); ?> Location ...
10 Jul 2010Posted by admin
SEO is important to business owners. The main reason SEO is important is without it your site won’t show up in the search engines or if it does, it may be several pages down. You want to be on the top one or two pages for best results. Here are the best WordPress SEO plugins for your to consider: 1. Robots Meta: This WordPress plugin allows you to choose which blog posts allow a do follow, or no follow. This plugin helps your blog posts to be crawled by the Google spiders. ...
11 Jun 2010Posted by admin
Now that you have your files all set up for converting your HTML template to WordPress, you now want to start changing the code of your HTML template to a WordPress compatible theme. Today we are going to work on your header.php template. You will need to open your Header file from the folder you created in the last step in order to begin this process. Next you will want to open up your HTML document and copy and paste the code from the top of the template all the way ...