How to show Product Image in Magento?

Mangage Product Image –> Edit Product Image (OR) Add Product Image  —> Inventory –> Stock Availability change to In-Stock.

Magneto View All Products List

<?php
if($this->isLimitCurrent(“all”)):?>
<a href=”<?php echo $this->getLimitUrl($this->getDefaultPerPageValue());?>”>
View Less
</a>
<?php
//  if t last page number is greater than 1
elseif ($this->getLastPageNum()>1): ?>

<a href=”<?php echo $this->getLimitUrl(‘all’)?>” title=”<?php echo $this->__(‘View All Products’) ?>”>
<?php echo $this->__(‘View All’) ?>
</a>

<?php endif;?>

Another one Link :

http://www.magentocommerce.com/wiki/groups/248/display_products_on_home_page

All Products Showing Home Page :

{{block type=”catalog/product_list” name=”home.catalog.product.list” alias=”products_homepage” template=”catalog/product/list.phtml”}}

Single Category All Products :

{{block type=”catalog/product_list” name=”home.catalog.product.list” alias=”products_homepage” category_id=”4″ template=”catalog/product/list.phtml”}}

Rss Feed Link in WP

URL for RDF/RSS 1.0 feed
<?php bloginfo('rdf_url'); ?>
URL for RSS 0.92 feed
<?php bloginfo('rss_url'); ?>
URL for RSS 2.0 feed
<?php bloginfo('rss2_url'); ?>
URL for Atom feed
<?php bloginfo('atom_url'); ?>
URL for comments RSS 2.0 feed
<?php bloginfo('comments_rss2_url'); ?>

http://codex.wordpress.org/WordPress_Feeds

Wp calender Stamp

function calendar (){ ?>
<div>
<div><?php the_time(‘M’) ?></div>
<div><?php the_time(‘j’) ?></div>
<div><?php //the_time(‘Y’) ?></div>
</div>
<?php
}
//add_action(‘thesis_hook_before_headline’, ‘calendar’);

/*** calendaricon ***/
.calendaricon{
background:url(images/date-stamp-bg.jpg) no-repeat top left;
position:relative;
width:45px;
height:49px;
float:left;
margin-right:10px;
}
.month{
position:absolute;
font:11px Arial, Helvetica, sans-serif;
color:#FFFFFF;
text-align:center;
width:100%;
top:4px;
}
.day{
position:absolute;
font:bold 19px Georgia, “Times New Roman”, Times, serif;
color:#000000;
text-align:center;
width:100%;
top:20px;
}
/*** calendaricon ***/

WP Menu Path

wp-includes/nav-menu-template.php
wp-includes/post-template.php

<ul>
<?php wp_list_pages('title_li='); ?>
</ul>


<ul>
  <?php wp_list_pages('include=5,9,23&title_li=<h2>' . __('Poetry') . '</h2>' ); ?>
</ul>


<ul>
  <?php wp_list_pages('sort_column=menu_order'); ?>
</ul>


<ul>
  <?php wp_list_pages('sort_column=menu_order&title_li=<h2>' . __('Prose') . '</h2>' ); ?>
</ul>


<ul>
  <?php wp_list_pages('sort_column=menu_order&title_li='); ?>
</ul>


<ul>
  <?php wp_list_pages('sort_column=post_date&show_date=created'); ?>
</ul>


<ul>
  <?php wp_list_pages('exclude=17,38' ); ?>
</ul>


<ul>
  <?php wp_list_pages('include=7,13,26,35&title_li=<h2>' . __('Pages') . '</h2>' ); ?>
  </ul>


<ul>
  <?php
  global $id;
  wp_list_pages("title_li=&child_of=$id&show_date=modified
  &date_format=$date_format"); ?>
</ul>

How to fixed XML Parsor Error Report?

Remarks

If an XML declaration (<? XML …?>) appears in your feed, the first thing in the diet, especially a room.

Unfortunately, with WordPress, it seems too easy for a plugin, theme or your configuration file to a blank line. Compounding this problem, some – but not all – feed readers compensate for this common error, the error may go unnoticed for a while.

Solution

* PHP also uses a similar format: <? php … ?>. Note that the final php?> should be removed from all PHP code files modules, includes, etc. The final separation stabbing is optional in PHP (but not XML), and removing it helps prevent unwanted white space at the end the files can cause problems with your feeds.
* Check your wp-rss2.php and WP atom.php for blank lines outside of <? and?> parentheses sections.
* Check your wp-config.php file for blank lines outside of <? and?> parentheses sections.
* Check your themes functions.php file for blank lines outside of <? and?> parentheses sections.
* One by one, disable plugins and rehabilitation until the cause of the problem. 🙂

© 2020 Spirituality