We can hide the all kinds of issues by just following the below steps in opencart.
First of all search for the below line in index.php.
1.set_error_handler('error_handler');
2. And comment the line.
Thursday, September 27, 2012
Wednesday, September 26, 2012
How to display posts in related pages?
First of all we need to create a category in posts.
For example i want to display events posts in events page. So i have to create a events category in Posts Category.
Then add all posts for events.
Now create a page in the themes folder. And copy the below code in that page.
<?php
/**
* Template Name: Posts Display
*
* Selectable from a dropdown menu on the edit page screen.
*/
get_header();
?>
<?php
/**
* Template Name: Posts Display
*
* Selectable from a dropdown menu on the edit page screen.
*/
get_header();
?>
Monday, September 3, 2012
How to add gallerywise or advanced search in nextgen gallery in wordpress?
To add advance or gallery wise search need to follow below steps....
1. First we need to install both nexgengallery and nexgengallery search.
2. Then change the form structure of searchform.php in the current theme as below..
<form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
<table>
<tr>
<td><label for="s" class="assistive-text"><?php _e( 'Search', 'twentyeleven' ); ?></label></td>
<td><input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search Images', 'twentyeleven' ); ?>" /></td>
1. First we need to install both nexgengallery and nexgengallery search.
2. Then change the form structure of searchform.php in the current theme as below..
<form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
<table>
<tr>
<td><label for="s" class="assistive-text"><?php _e( 'Search', 'twentyeleven' ); ?></label></td>
<td><input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search Images', 'twentyeleven' ); ?>" /></td>
Subscribe to:
Posts (Atom)