0

hi all, i am new to wordpress. i am developing one sample theme. i created 5pages. i dont know how to set my home as index page. when i click my theme logo it must redirect to index.php it redirected but dynamic home page content are not displayed it displays default contents.

3
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by sourcebits
0

hi all, i am new to wordpress. i am developing one sample theme. i created 5pages. i dont know how to set my home as index page. when i click my theme logo it must redirect to index.php it redirected but dynamic home page content are not displayed it displays default contents.

you need to edit the header.php file and this <?php echo get_option('home'); ?> should be set as the logo link
for ex:
<div id="header">
<h1><a href="<?php echo get_option('home'); ?>/" id="logo"></a></h1></div>


and you can edit the default home page in setting->reading your home page can show the latest posts or a static page

Edited by refulez: n/a

0

To show up the existing data in the edit form, you will select the data based on the unique id of the data you are editing. If you study some database management script examples from net, you will be able to do it on your own. If you have no prior hand information on programming, you may take help up another PHP programmer to do this task.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.