• Resolved Julian Hernandez

    (@julian1176gmailcom)


    Hi Konstantin,

    Before diving into my question, I want to congratulate you for having created this base theme. I’m now configuring my blog based on your theme, and it’s awesome!

    I’ve been customizing my theme as a child of yours. However, I’ve hit a dead-end trying to modify the “entry-meta” contents (the ‘Posted on xxx by xxx | Leave a reply’ part). I want to take out the ‘Leave a reply’ part, but I can’t seem to find a the way to do it.

    I found that “template-tags.php” has the function that makes it display. If I erase the part I want to delete in the parent php, it works (but not recommended). However, when I bring the php to my child folder and modify it, it just will not work.

    After fiddling with the thing for a almost a full day, this is my current set up. I copied functions.php (file 1) and “/inc/template-tags.php” (file 2) to the child folder. I deleted the part I don’t want to see in file 2. However, I’m almost certain that the “get_template_directory” function in file 2 (child), ALWAYS calls “/inc/template-tags.php” from the parent folder!, and I believe this is the source of my headache.

    Any ideas on how I could fix this issue?

    Regards,

    Julian HR

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Konstantin Obenland

    (@obenland)

    Howdy Julian,

    Thank you for your nice feedback, I appreciate it! ??

    All functions in /inc/template-tags.php are wrapped in function_exists() conditionals, so you can overwrite them in your child themes functions.php file, by declaring the function. You don’t have to recreate the folder structure.

    Best,
    Konstantin

    Thread Starter Julian Hernandez

    (@julian1176gmailcom)

    haha, that did it!

    I didn’t know I could rewrite the functions in template-tags.php on functions.php.

    Thank you much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing "entry-meta" contents to personalize my blog’ is closed to new replies.