Support » Fixing WordPress » New site I’m setting up – few questions

  • Resolved marksweb



    I’m creating a site for my uni American Football team so they can survive without my tech knowledge when I graduate this year.

    Currently its at;

    Still just getting to grips with the way to code this stuff, used a tutorial to get to where I’m at now. Still the content isn’t being displayed in single.php with the call;

    <?php the_content(); ?>
    	<?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'SHU Warriors' ) . '&after=</div>') ?>

    Also, I want to get two sections under the ‘welcome’ paragraph, one to the left displaying post titles with a single line excerpt underneath, maybe 5 max. How could you call a loop that displayed those?


Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi


    Forum Moderator

    Looks like the single.php template is working fine now.

    Yeah I’ve changed to trying to setup a child theme to K2 as that seems like a decent framework.

    However I’ve very limited knowledge of both wordpress and child themes so having problems with CSS.

    If for example I want to edit link colours, I’ve added that code to a style sheet in ‘child theme dir’/styles/style.css
    but that isn’t overwriting the core K2 CSS.

    It probably shows the extent to which I don’t understand this but I’ve tried to remove the inclusion of the K2 css in the header of my child theme as stated in the K2 wiki, and then put the core K2 css in my child css, but that just broke everything.

    How do I just over-ride single elements of K2’s style without having to edit the K2 stylesheet?



    Forum Moderator

    Make sure that your stylesheet call in header.php uses bloginfo('stylesheet_url') as opposed to bloginfo('template_directory'. Then use @import in the child’s stylesheet to bring in selected stylesheet from the parent theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New site I’m setting up – few questions’ is closed to new replies.