Custom field is a very useful functionality in wordpress. We can use it to show extra information on our blog post or page. I explain about shortcode in my previous post. If you are looking to build the shortcode for custom field, here is the solution: Put the below code into your functions.php /*************************/ add_shortcode(‘custom_field’, [...]
Posted at August 31st, 2012 in WordPress | Tags: wordpress tips
Shortcode is a set of function to use in your post/page content. For instance, we use contact form 7 or any gallery plugin, we use a simple code to put in our post/page content: [contactform] Its really easy to built. Shortcode is define in your theme file function.php. Below is a simple example to built [...]
Posted at February 17th, 2012 in WordPress | Tags: wordpress function, wordpress tips
WordPress sidebar has many feature and we can customize that just drag and drop widgets. If we talk about developer end, we can use widget feature to customize our blog. We can as many as side bar and can manage from admin. For example, if we want to add feature in footer where we can [...]
Posted at November 22nd, 2011 in WordPress | Tags: website developer, wordpress, wordpress tips, wordpress widget
Custom field play very big role in WordPress. We can use it to call extra feature in post and page. For example (only to show custom field functionality), if you want to add a source url in your every post. You can do it using two method:
Posted at November 11th, 2011 in WordPress | Tags: website development, wordpress function, wordpress tips
Everybody wants to make wordpress theme and like to have their own blog. Below are some basic wordpress function which can help to make basic theme for wordpress. 1) <?php bloginfo(‘stylesheet_directory’); ?> This wordpress function returns your active theme path. Like you have a theme by the name of ”demotheme”. It will return: http://domain-name.com/wp-content/themes/demotheme 2) <?php echo [...]
Posted at August 20th, 2011 in WordPress | Tags: wordpress, wordpress function, wordpress tips