Todo this just goto page..
/wp-includes/pluggable.php
Search $from_name = 'WordPress'; and Replace Wordpress word with
$from_name = 'your own name';
Monday, February 25, 2013
Tuesday, February 5, 2013
How to display total blog posts in a static page?
To display total blog posts in a static page which are created by the developer, need to follow below steps..
1. Create a page with the name posts.php in theme folder which the site using.
2. Copy paste below code
<?php
/**
* Template Name: Posts Page
* Description: A Page Template that adds a sidebar to pages
*
* @package WordPress
* @subpackage Twenty_Eleven
1. Create a page with the name posts.php in theme folder which the site using.
2. Copy paste below code
<?php
/**
* Template Name: Posts Page
* Description: A Page Template that adds a sidebar to pages
*
* @package WordPress
* @subpackage Twenty_Eleven
Thursday, January 31, 2013
How to Add CKEditor in Drupal
Following Steps need to follow.
First Download 3 file.
First Download 3 file.
- Download CKEditor module(ex.ckeditor 7.x-1.2). To download click here.
- Download CKEditor Software(ex.CKEditor 3.6.6) .To download click here.
- Download imce Software(ex.imce-7.x-1.4.tar.gz) .To download click here
- Unzip all the zip files which are downloaded. After that copy the CKEditor software folder.
- Inside the CKEDitor module folder there is folder name CKEditor, paste the software folder in that folder.
- Now copy the CKEditor module folder and IMCE folder into the drupal project folder in sites/all/module.
How to remove Read more and display Content on front page
Just goto Configuration -> Site Information there we will find an option like "Default front page". There you can give your node id of the page what you are created.
For Ex.
I have created page which i want to make as front page like "Wel Come". When we are created the page it will take a node id a default value like "5".
So we need to add this value in Default Front Page as "node/5"
For Ex.
I have created page which i want to make as front page like "Wel Come". When we are created the page it will take a node id a default value like "5".
So we need to add this value in Default Front Page as "node/5"
Tuesday, January 22, 2013
How to create a plugin in wordpress?
For creating a new plugin in wordpress need to follow below steps:
1. Create a php file in plugins folder of your wordpress project.
For example : mytestplugin.php
2. Add the below code in that:
<?php
/*
Plugin Name: My Test Plugin
Plugin URI: http://google.com
Description: This is a my first plugin
Version: 1.0
Author: Kiran
Author URI: http://gmail.com/
*/
?>
Plugin Name: name of the plugin which display at admin side of wordpress in plugins menu.
Plugin URL: describes the link of your plugin site.
Description: description of the plugin.
Version: version of the plugin
Author: Name of the author who creates the plugin
Authod URL: url of the author's site.
1. Create a php file in plugins folder of your wordpress project.
For example : mytestplugin.php
2. Add the below code in that:
<?php
/*
Plugin Name: My Test Plugin
Plugin URI: http://google.com
Description: This is a my first plugin
Version: 1.0
Author: Kiran
Author URI: http://gmail.com/
*/
?>
Plugin Name: name of the plugin which display at admin side of wordpress in plugins menu.
Plugin URL: describes the link of your plugin site.
Description: description of the plugin.
Version: version of the plugin
Author: Name of the author who creates the plugin
Authod URL: url of the author's site.
Thursday, October 11, 2012
How to do Events as calendar in post/page wordpress?
To make an event Need to follow below steps..
1. Install plugin from http://www.harriswebsolutions.co.uk/event-organiser/.
2. To display events as a calendar use the below short code..
[eo_fullcalendar]
1. Install plugin from http://www.harriswebsolutions.co.uk/event-organiser/.
2. To display events as a calendar use the below short code..
[eo_fullcalendar]
Thursday, September 27, 2012
How to hide the errorrs,warnings,notice and all kinds of things in Opencart?
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.
First of all search for the below line in index.php.
1.set_error_handler('error_handler');
2. And comment the line.
Subscribe to:
Posts (Atom)