Wordpress question

I got a blog:


and I need to move that index page to another page called “blog”

and the current index page I need delete everything below “featured content” how can i do that?

I am not sure whether i understood what exactly you are trying to do with but wouldn’t just copying the index.php to blog.php and don’t show anything below Featured Content from index.php work for you? But for sure, we need to see how your theme is developed.

So are you saying that you want your first page(index.php) to have everything above “featured content” and a page(blog.php) to show everthing?

I same with rajug, I don’t understand what u want to explain now

ok what i want to do is this:

i want to move what is the current home page and move it to another link you would have to click on called “blog” like you have portfolio there I want to have another link called “blog”

now when the person first opens the page i want to have everything below “featured content” erased. how can i do that?

I think your theme has used the proper WP standard modularzation functions like get_header(), get_footer(), etc. and you should have different files for this where you can edit the things. Also index.php file there must be those files included. So what i mean is you can duplicate the index.php file to blog.php and there you are free which file to include and which not to include in blog.php. Though I am not much expert in WP, but i hope this will help you out.

Go to options > reading in your WP dashboard. At the top there is an option to set the homepage as a “page” and redirect the current home page to another “page”.

You will need to create both pages before you can set this up. Name one “home” and the other “blog”.

Hope it helps. :slight_smile:

thanks but how do i cut the bottom half off? cause i need the top half for the new index page.

You will need to edit the index.php file to remove the code that generates that section of the content.

You could alternately create a new file called home.php with the content you want it to have, then WP will (by default) use home.php for the homepage as opposed to index.php.

Note: Though this could have undesired effects on the redirect home/blog page(s) option I mentioned above.

Can you post the code from index.php in the theme folder here? :slight_smile:

here you go the index from my theme:


Try this:

<?php get_header() ?>

<!-- Start Gallery - Refer to the documentation for the exact use of this. -->
<?php if (is_home()) { ?>
<div class="gallery">
<ul id="mycarousel" class="jcarousel-skin-atlantica">

<?php $lrgslider = get_page_by_title('lrg-slider'); 
echo apply_filters('the_content', $lrgslider->post_content); ?>

<?php } ?>
<!-- End Gallery -->

<div class="clear"></div>
<div id="content">

<!-- Start Info Bar -->
<div class="info_bar">
<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Home Quote Space') ) : ?><?php endif; ?>
<div class="email_me"><a href="mailto:<?php echo get_option('atlantica_homepage_email_address'); ?>"><img src="<?php echo get_option('atlantica_homepage_email_image'); ?>" alt="emailme" /></a></div>
<div class="clear"></div>
<!-- End Info Bar -->

<!-- Title Bar -->
<div class="from_title">
<li class="page_title">Featured Content</li>
<!-- Title Bar -->


<?php get_footer() ?>

Save it as home.php and see if it works. I have not tested it. :slight_smile:

awesome ill try that out.

yeah ok it works. looks good. thanks!

Go to options > reading in your WP dashboard. At the top there is an option to set the homepage as a “page” and redirect the current home page to another “page”.

You will need to create both pages before you can set this up. Name one “home” and the other “blog”.

I cannot find this option here is what i see:

please help.

it is (settings > reading), sorry about that.

thanks but how can i set another static page to display the blog posts exactly? cause all i was able to do for the blog was to copy the index page.

are there actual php files for each static page?

There can be if you wish, you just have to code a page, and put that file in the correct theme folder. At the top you need to put:

Template Name: WhateverYouWant

if I am understanding you correctly.

no what i need to know where is the directory for all the pages that i have created (static pages). can I will need to alter one.

for example i create a static page called “resume” where can I find that php file for the resume page?

There is no specific file for each page created. They all use page.php within the theme folder unless told otherwise as explained above by Ryan B and also in this thread.

Have you created static pages that you want to work with the Wordpress install or have you created the pages within the WP admin?

there is one page i want to edit that will be different entirely than the rest of the pages. what i want is essentially like this page:


but that is the blog or former index page.

so i will need a functioning index page with all the posts and i need a page like that. how can i create that?