Forum Replies Created

Viewing 3 replies - 76 through 78 (of 78 total)
  • Hi @kwilson2,

    PinBlue’s style is actually loaded using wp_enqueue_style() instead of hardcoding it directly to the theme header.

    So, to load your stylesheet after the parent stylesheet, add the following php code to your functions.php file:

    function pinblue_child_enqueue_style(){
    	wp_enqueue_style('pinblue_child_style', get_stylesheet_directory_uri() . '/style.css', array('pinblue_style'));
    }
    add_action('wp_enqueue_scripts', 'pinblue_child_enqueue_style');

    This will load your child theme’s stylesheet after the parent theme’s stylesheet.

    Hi,

    To remove the “posted on by” in the post, you will need to edit the theme file content.php.

    Somewhere at the top of the file, you will see code like this:

    <?php if ( 'post' == get_post_type() ) : ?>
    <div class="entry-meta">
    	<?php pinblack_posted_on(); ?>
    </div><!-- .entry-meta -->
    <?php endif; ?>

    delete that and you should be good to go.

    Just a note though, the changes you make will be deleted when you update the theme. So, you’ll have to go through this again when that happens.

    If all this is still too much for you feel free to contact us through our website https://wpthemes.co.nz/contact/

    Hi,

    You can try editing the index.php file, single.php and page.php file and removing or commenting out the code that calls the left sidebar. On the index.php file, this is on line#45.

    <?php get_sidebar('left'); // left sidebar ?>

    Then, you need to change the class for the #main div from col480 to col700

    One thing though, modifying the code directly to a parent theme – such as this one – is not advisable because an update to the theme would wipe out your modifications. Instead, best practice would be to create a child theme off of the parent theme.

    Here is a guide for creating child themes in WordPress https://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

Viewing 3 replies - 76 through 78 (of 78 total)