Welcome Message Changes :
Admin > System > Configuration > Design > Header > Default Welcome Text.
Welcome Message Changes :
Admin > System > Configuration > Design > Header > Default Welcome Text.
Mangage Product Image –> Edit Product Image (OR) Add Product Image —> Inventory –> Stock Availability change to In-Stock.
<?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”}}
http://codex.wordpress.org/WordPress_Feeds
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-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>
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. 🙂
<div>
<?php
if (have_posts()) : the_post();
query_posts(‘category_name=Home Pink’);
endif;
//The Loop Below content take your blog theme post coding content start…
if ( have_posts() ) : while ( have_posts() ) : the_post();
?>
<div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<h2 style=”margin:0;”><a href=”<?php the_permalink(); ?>” title=”<?php printf( esc_attr__( ‘Permalink to %s’, ‘twentyten’ ), the_title_attribute( ‘echo=0’ ) ); ?>” rel=”bookmark”><?php the_title(); ?></a></h2>
<div style=”background:#EF4584;”>
<?php twentyten_posted_on(); ?>
</div><!– .entry-meta –>
<div> </div>
<div>
<?php home_the_content(); ?>
</div><!– .entry-content –>
</div><!– #post-## Coding Content End –>
<?php
endwhile;
endif;
?>
</div><!– Green Bg End –>
Reference url :
http://codex.wordpress.org/Function_Reference/query_posts
http://codex.wordpress.org/Template_Hierarchy
<?php
$page_name = array(9,10,11); // 123 should be replaced with a specific Page’s id from your site, which you can find by mousing over the link to edit that Page on the Manage Pages admin page. The id will be embedded in the query string of the URL, e.g. page.php?action=edit&post=123.
$company_solution_data = get_page( $page_name[0] ); // You must pass in a variable to the get_page function. If you pass in a value (e.g. get_page ( 123 ); ), WordPress will generate an error.
$company_portfolio_data = get_page( $page_name[1] );
$company_testimonials_data = get_page( $page_name[2] );
?>
<div id=”solutionzone”>
<?php
$company_solution_content = apply_filters(‘the_content’, $company_solution_data->post_content); // Get Content and retain WordPress filters such as paragraph tags. Origin from: http://wordpress.org/support/topic/get_pagepost-and-no-paragraphs-problem
$company_solution_title = $company_solution_data->post_title; // Get title
echo ‘<h2>’.$company_solution_title.'</h2>’;
if (strlen($company_solution_content)>130)
{ echo “<p>”.substr($company_solution_content,0,128).”…</p><div class=’clr’></div>”; // Output Content
echo ‘<a href=”?page_id=9″>more</a><div></div>’;
}
else{
echo $company_solution_content;
}
?>
Hi,
Anybody want to change the developer things going to change below url section.
1. Login Admin
2. Click System –> Configuration –> Developer
3. Click Translate Inline
4. Change Enable to Frontend “Yes”
5. Click Save Config
that is enough for all.
🙂