[resolved] New site I'm setting up - few questions (4 posts)

  1. marksweb
    Posted 5 years ago #


    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; http://www.marksweb.co.uk/wordpress

    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?


  2. esmi
    Forum Moderator
    Posted 5 years ago #

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

  3. marksweb
    Posted 5 years ago #

    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?

  4. esmi
    Forum Moderator
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic