• Resolved 1mk

    (@1mk)


    I created a child theme with the functions.php and the style.css.

    I just don’t know what code to use to customize and override things that I would like to change in the theme.

    For instance:

    1. I want to customize the length of the excerpt for the latest blog post..

    2. If I use post content rather than latest blog posts I want to be able to add text directly below the home slider and the start of the first post.

    3. I want to be able to customize the text of the excerpt buttons.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey,
    Creating a custom child theme goes a little beyond this type of support. We can point you in the right direction but unfortunately we can’t build this for you.

    You can see the “latest blog posts” template in the templates/home/blog-home.php file.
    The excerpt is on line 131.

    You can see the home page template in the file font-page.php in the theme folder.

    You can set a custom link text by removing the filter for the link:

    remove_filter('excerpt_more', 'kadence_excerpt_more');
    and add in your own. To see an example look at the cleanup.php file in the lib folder. Line 118

    Kadence Themes

    Thread Starter 1mk

    (@1mk)

    After creating the child theme and activating it..I was trying to make changes and I got this message when I try to go to my website…

    Parse error: syntax error, unexpected ‘<‘ in /home4/mk1/public_html/yourpathtohealthyliving.com/wp-content/themes/virtue-child/functions.php on line 17

    How can I fix this issue?

    Thanks,

    MK

    Means you have added something in your child theme function file that is throwing an error. You need to fix the file. through FTP or through your cpanel.

    Kadence Themes

    Thread Starter 1mk

    (@1mk)

    Issue resolved.

    thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Virtue Child Theme’ is closed to new replies.