Support » Theme: Icy » Change header of a post

Viewing 10 replies - 1 through 10 (of 10 total)
  • First make a child theme
    http://codex.wordpress.org/Child_Themes

    Then have a look at the loop
    http://codex.wordpress.org/The_Loop

    The loop will be found in the index.php most of the time. If not the index.php will tell you where. It’d be something like entry.php or post.php. The loop is determines how posts are displayed and where you’ll find what you’re looking for.

    Here is how to do the comment link. Use this as a guide to modify how your comments display. (This must go inside of the loop)

    http://codex.wordpress.org/Function_Reference/comments_link

    Theme Author Artur – wildweblab.com

    (@wildweblab)

    That modification is actually very easy.

    Go to the “Theme Options > Snippets > Post Info”,

    Find this shortcode:

    [post_comments]

    and replace it with:

    [post_comments before="" after="comments"]

    You will need to add additional styling to make it look better.

    If you want to make some further modifications, you can find this shortcode in the file: shortcodes.php.

    Keep in mind that the way mentioned above will not save your modifications. So you will have to re apply them if you ever update, or move.

    Thx

    Theme Author Artur – wildweblab.com

    (@wildweblab)

    Just to clarify, if you make changes in the Theme Options you don’t have to worry about updates.

    Only modifications made to the theme’s files without using a child theme will disappear after update.

    Hi,

    I changed the text but the word “comments” is not withing the linktext now.
    This was the main reason why I wanted to add the word b/c in my opinion the area is too small where an user can click to find the comment-section.

    How can I bring the word comments into the linktext?

    Regards

    Looks like this theme is meant to be edited mostly online. Which is not the greatest way to make simple modifications like this. Pretty sure what you are looking for is in the lib/core.php. But I wouldn’t edit that.

    I searched for a codeline in the core.php but did not find the right line.
    Will have a look at it later again.

    Theme Author Artur – wildweblab.com

    (@wildweblab)

    Look for wwl_post_comments in lib/shortcodes.php

    It should be pretty straightforward if you look at it.

    You could copy this function, create your own shortcode with slightly different name and save in in child theme or plugin.

    Thx

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Change header of a post’ is closed to new replies.