Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #4806

    Janet A
    Participant

    Hi,
    l o v e this theme. Thank you!

    I would like to remove the author name for the meta information both on the blog index page and single blog post. I’ve tried every piece of commonly used code I can think of but no go.

    Please advice:)

    #4854

    Rubin
    Keymaster

    Hey Janet,

    we can help you achieving that. I only need to know which stack you’re using and before we can get started you will have to create a child theme. If you do not know how to create a child theme go into our Video Tutorials section, we have a tutorial on how to set up a child theme there.

    #4867

    Janet A
    Participant

    I’m using the Renew stack and I have installed the child theme. Ready:)

    #4880

    Rubin
    Keymaster

    Hey Janet,

    Ok let’s go! Copy paste /x/framework/functions/renew.php from your main theme folder into your child theme folder. Then open it and go to line 98. Remove Line 98-100 and save the file. The author should be gone now.

    #6131

    Janet A
    Participant

    All done, but the author still displays. Odd.

    #6137

    Rubin
    Keymaster

    Hey Janet,

    make sure that you cleared your cache. Can you send me the address of your site so I can take a look?

    #22821

    Savannah T
    Participant

    Hello,

    I’m adding to this conversation because I was trying to remove the author from my blog posts too and just pasted the code you mention above /x/framework/functions/renew.php
    in my X-child theme: integrity light ‘Theme Functions (functions.php) area’ I clicked update without saving what was in there before. Now I have an error message coming up:

    Parse error: syntax error, unexpected ‘/’ in /home/innerjou/public_html/wp-content/themes/x-child-integrity-light/functions.php on line 9

    I am new to webdesign and tried to play around with php without knowing what I’m doing… fatal error!

    I REALLY hope I haven’t lost the everything on the website. Could you send me what the original code of what it says in X-child theme: integrity light ‘Theme Functions (functions.php) ?
    I’m hoping that if I paste it in there everything will go back to normal….

    my website: innerjourneyproject.com

    Many thanks!

    #22822

    Savannah T
    Participant

    One more thing – I had actually adapted it the code to /x/framework/functions/interity-light.php

    please, please help!

    #22878

    Savannah T
    Participant

    Hi again, I don’t know how to delete my message but I have found a solution so all is good! Quite the learning curve, this website business.

    #23110

    Rubin
    Keymaster

    Glad it works now, let me know if you need anything else!

    #365302

    billsall
    Participant

    Hi, I’m adding to this same conversation. I need to remove author from posts wherever they appear.

    I notice there are several suggestions (modify functions in child theme and css display:none) – and I’ve tried them both and none worked. My url: slasystems.com/wordpress (test site). I’m using Integrity. I installed the child-theme. I’ve got x-them version 4.0.6. I modified the child theme commenting out the code for $author. I put the custom css: .single-post .p-meta span:first-child {
    display: none;
    }

    HELP! and thank you

    #365522

    Zeshan
    Member

    Hi Billsall,

    Thanks for writing in! Please use this CSS code instead under Custom > CSS in the Customizer:

    .p-meta > span:first-child {
        display: none;
    }
    

    Hope this helps. 🙂

    Thank you.

    #366064

    billsall
    Participant

    THANK YOU!!! That works to handle the author. So, is there new child theme doc?

    (And sorry about posting twice… I thought that responding to someone else’s thread wouldn’t register with you… my error.)

    #366076

    Thai
    Moderator

    THANK YOU!!! That works to handle the author. So, is there new child theme doc?

    You’re most welcome 🙂

    You can take a look here: http://codex.wordpress.org/Child_Themes.

    Hope it helps.