WordPress is one of the most popular content management systems for blogs, portfolios, and other types of sites, but with the right plugins and/or themes it can also be used for e-commerce. While WordPress is not specifically intended to be used for e-commerce sites, the quality of available plugins and themes has increased in recent [...]
Posts Tagged:Wordpress
When coding a WordPress site, you often need to get a category ID. If you ever wanted to be able to get a category ID from the category name, then just read this recipe, I’m pretty sure you will like it.
As usual, let’s start by pasting the function in your functions.php file:
function get_category_id($cat_name){
$term = get_term_by(’name’, [...]
WordPress has become one of the top choices for content management systems among website owners. This has happened for several reasons, but one is the readily available collection of themes that can transform the appearance and functionality of a site. There are all kinds of themes out there, but some of my favorites are the [...]
WordPress is a great platform for setting up an online store, and there is a wide range of themes available to help sellers reach target customers. This post presents 20 of the best ecommerce themes, including both free and premium examples, covering storefront templates aimed at a variety of niche markets.
1. Store
The Store template is [...]
It can be pretty tough call to decide whether to invest in a premium Wordpress theme or simply stick with a free one.
Contact Form is one of the most important page for all websites. If you are running an e-commerce website, you need a contact form so that your potential buyers can reach you to get more information. Even if you run a personal blog, you will also need a contact form so that bloggers from same [...]
Search Google and just about every article you come along will tell you that in order to have a secure blog, you need X amount of plugins. I disagree. I use none yet I’m satisfied I have a reasonable level of
Wordpress was build to be used for blogging only but with the use of many valuable plugins you can extend it to a full content management system. I don’t think so if anything is left out which you can’t find in Plugins, means you can turn your Wordpress into whatever you want.
Here i have collected [...]
When your blog starts growing and gets popular, you have to take care of security risks and issues. Most of bloggers and web masters fail to recognize the importance of securing their blog. Hackers can do lots of things after breaking in, they can attack your site viewers with Trojan viruses to steal information from [...]
Twitter is obviously a very useful tools for bloggers. Did you ever wanted to know how many times your posts are sent to Twitter by your readers? If yes, just read on and learn how to know it, and display it on your blog, in full text mode.
paste the following function in your functions.php file:
<?php
function [...]
Do you know that WordPress have a built-in RSS reader? Today, I’m glad to show you an updated version of this very popular hack.
Simply paste the following code where you want the feed to be displayed. Don’t forget to define feed url at line 4.
<?php if(function_exists(’fetch_feed’)) {
include_once(ABSPATH.WPINC.’/feed.php’);
$feed = fetch_feed(’http://feeds.feedburner.com/cosmosblog’);
$limit = $feed->get_item_quantity(7); // specify number of [...]
when you’ve visited your WordPress site’s dashboard in the past 24 hours you probably noticed that WordPress 2.9 is now available to download. I know many people like to wait to upgrade to give theme and plugin authors a chance to create updates, but the new changes in WordPress 2.9 seem to be playing nice with [...]
For millions of bloggers worldwide, Wordpress is the platform of choice. Offering the widest range of plugins and features — both user-designed and official, a massive network of bloggers and inbuilt installations, and the perfect price ($0), there’s no wonder why this blogging platform has become the industry standard.
Of course, Wordpress isn’t limited to blogs [...]
This code is poweful but definitely easy to implement. Just paste it on your functions.php file and it will automatically output your post content in columns.
Your post content will be splitted on <h2> tags.
function my_multi_col($content){
$columns = explode(’<h2>’, $content);
$i = 0;
foreach ($columns as $column){
if (($i % 2) == 0){
$return .= ‘<div class="content_left">’ . "\n";
if ($i > [...]
WordPress is a very powerful blogging engine, which serve content to billions of readers on a daily basis. But not only: WordPress can be used in a wide variety of ways: Photoblog, online magazine, classified site… And with all that power, WordPress can also help you to make more money online than a simple site [...]
WordPress, by default, comes uncompressed and sends the uncompressed HTML to the visitor’s browser. With one line of code added to your header, you can compress WordPress’s output by up to 75%. By using zlib compression technology, you can harness the power of PHP and reduce your blog’s load speed!
First, place the following code in [...]
Wordpress is not only a great blogging tool but a great content management platform that provides a lot of ways to let you hack into into its functionality to make it do whatever you want. Here are 12 lesser known wordpress hacks/ tricks that you might find useful for your next WordPress related project.
Most of [...]








