WordPress Template Hierarchy
The Template Hierarchy In Detail # While the template hierarchy is easier to understand as a diagram, the following sections describe the order in which template files are called by WordPress…
The Template Hierarchy In Detail # While the template hierarchy is easier to understand as a diagram, the following sections describe the order in which template files are called by WordPress…
Open Magento admin panel Go to CMS>Pages>Home page Switch to the content tab Insert the following code: {{block type="catalog/product_new" column_count="6" products_count="12" name="home.catalog.product.new" alias="product_homepage" template="catalog/product/list.phtml"}} Where: column_count="6" – number of the…
In Firefox, without any add-ons: >>menu Tools » Page Info (Command-I on a Mac) (Ctrl + I on a Windows), tabsheet Media. This also gives you a Save As button…
On an Apache server Most users reading this article will likely be on an Apache server. Here are the steps you'll need. Use your host's file manager or an FTP…
if ( is_home() ) { echo get_post_field('post_content', '419'); } or $id=419; $post = get_post($id); $content = apply_filters('the_content', $post->post_content); echo $content;
Insert the following code the functions.php file of your active theme. This code disables all the updates notifications regarding plugins, themes & WordPress completely. function remove_core_updates(){ global $wp_version;return(object) array('last_checked'=>…
Magento V 1.9.1 >rwd/template/page/html/topmenu.phtml >add the following code <?php $routeName = Mage::app()->getRequest()->getRouteName(); $identifier = Mage::getSingleton('cms/page')->getIdentifier(); ?> <ul id="nav"> <li class="level0 home level-top <?php if($routeName == 'cms' && $identifier == 'home')…
Go to your database ->SQL and add the following query like your table field SET @ordering = 0; UPDATE table SET increment = (@ordering := @ordering + 1) WHERE field…