Syahir Hakim

Keymaster

Forum Replies Created

  • Admin

    In reply to: How to edit the sub menu css

    #14439

    Search for Navigation in the style.css file. Be warned, you may not like what you’ll find there.

    Admin

    In reply to: Widget Code Altering Footer

    #14444

    That code has far too many closing </div>s. Try deleting them one by one until the footer layout works properly again.

    Admin

    In reply to: My Graphene Slider [Full Picture Setup]

    #13881

    Uh oh, I was under the impression that you already have a child functions.php.

    Anyways, try adding <?php at the beginning of the child functions.php file, and ?> at the end.

    Admin

    In reply to: "Leave a Reply"

    #14438

    Try following the methods outlined here: https://forum.graphene-theme.com/topic/changing-view-full-post

    Admin

    In reply to: Posting a Link in your post….

    #14436

    WordPress excerpt function strips all HTML tags from excerpt. In the latest version of the theme (ver 1.3), I have added an option to retain HTML tags in excerpts. Check out the option at Wp Admin > Appearance > Graphene Options > Display > Excerpts Display Options > Retain these HTML tags in excerpts

    Admin

    In Edit Post and Edit Page screen, look at the bottom right of the screen where there’s a Featured Image section. You can set a featured image for any post/page using that.

    Admin

    In reply to: HTML and spell check

    #14437

    Those functions you mention are provided by the TinyMCE editor bundled with WordPress itself. The theme has nothing to do with those.

    Admin

    In reply to: Exclude Pages in Graphene

    #14435

    Use Custom Menu in WordPress admin > Appearance > Menus.

    Admin

    In reply to: My Graphene Slider [Full Picture Setup]

    #13879

    OK, there’s a few steps you need to take.

    First, open up the theme’s index.php file and insert this code just before the line that says get_template_part('loop', 'index');:

    do_action('graphene_index_pre_loop');

    Make sure it’s the theme’s index.php file. Don’t worry about losing the modification when you update the theme, as I’ll be including the code in the theme for the next update myself.

    Then, insert this code inside your child theme’s functions.php file:

    /**
    * Remove a certain category from the main loop
    */
    function graphene_exclude_cat(){
    if (is_home()){
    global $wp_query, $query_string;
    $cats = array(1); // The IDs of categories to be excluded
    $args = wp_parse_args(array('category__not_in' => $cats, 'paged' => get_query_var('paged')), $query_string);

    // Run the modified query
    query_posts($args);

    // Tell WordPress to set this is the home/blog page
    $wp_query->is_home = true;
    }
    }
    add_action('graphene_index_pre_loop', 'graphene_exclude_cat');

    Make sure you change the ID in this line:

    $cats = array(1); // The IDs of categories to be excluded

    with the ID of the category you wish to exclude.

    Or you can also use the much easier (but not ideal) way: just change the published date of the slider posts to something very very long ago, so they’ll show up last in the blog posts list.

    Admin

    In reply to: How to remove a post from static front page

    #14408

    Try add this into the Custom CSS or your child theme’s style.css file:

    .home .page{
    display: none;
    }

    PS: That “I want to remove this section” on your home page makes me loled. Wasn’t expecting that at all 😀

Viewing 10 posts - 4,931 through 4,940 (of 6,030 total)