Support » Plugins and Hacks » Hacks » Blog link problem

  • tRUStY

    (@trustyhu)


    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • tRUStY

    (@trustyhu)


    Can someone move it to the right topic?

    Moderator bcworkz

    (@bcworkz)


    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

    tRUStY

    (@trustyhu)


    Thanks I will try it.

    tRUStY

    (@trustyhu)


    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 }
    tRUStY

    (@trustyhu)


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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Blog link problem’ is closed to new replies.