WordPress.org

Ready to get started?Download WordPress

Forums

Blog link problem (6 posts)

  1. tRUStY
    Member
    Posted 1 year ago #

    Dear WordPress scene!

    I have a problem with my website. I'm not php coder I know the html and css a little bit but I can hack some things in php too. I did not find the proper link for the blog section. Here you can see my site: http://trusty.hu/2012/. So my prolem is i have to type the ../2012 to show my posts, but like in 2013 I would like to see all my posts, is there any link which can show them?

    Best regards,
    Zsolt Janes

  2. tRUStY
    Member
    Posted 1 year ago #

    Can someone move it to the right topic?

  3. bcworkz
    Member
    Posted 1 year ago #

    After you created your front page, you should have created a second empty page. You view all posts by whatever this empty second page is called. Look at the second part of step 1 on Creating_a_Static_Front_Page#Creating_a_Static_Front_Page

  4. tRUStY
    Member
    Posted 1 year ago #

    Thanks I will try it.

  5. tRUStY
    Member
    Posted 1 year ago #

    Half of the things are working.
    I think I have to create another css for load my perfect main page.

    Is there any kind of way to do it like this? Please write me the proper php code.

    <?php
    if ( is_page('')) { ?>
    <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/style-main.css" />
    <?php } ?>
    
    <?php
    else  { ?>
    <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/style.css" />
    <?php }
  6. tRUStY
    Member
    Posted 1 year ago #

    I solved it with http://codex.wordpress.org/Template_Hierarchy
    Thanks anyway!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags