WordPress.org

Ready to get started?Download WordPress

Forums

Alexandria
removing things from posts (4 posts)

  1. donohuge
    Member
    Posted 8 months ago #

    Hey guys,

    I'd like to remove several things from my posts. I'd like to remove the 'posted by' and 'categories' sections completely.

    I'd also like to remove the comments sections at the bottom completely. I tried just turning them off but it didn't work.

    Also when my post is over a certain length the screen appears to cut it off?

    Here is my site: http://indieconstruction.co.uk/garden-walls-2/

    Regards,

    Jordan

  2. Noone Here
    Member
    Posted 8 months ago #

    Hello!

    The best and in my oppinion the easiest way of hiding these elements is with the use of css rules in a child theme, I am using this technique on my site, and it is really fast.

    Please create a child theme following these instructions:
    codex.wordpress.org/Child_Themes

    After that, please insert the css code below to your child theme's style.css file:

    .actual_post_author {
      display: none;
    }
    
    .post .metadata {
      display: none;
    }
    
    .no_comm_single {
       display: none;
    }

    This should solve this issue. I have took the liberty and I have tried it out on your site locally (meaning that the changes are appearing only on my machine): http://d.pr/i/VdXd
    I would like just to add, that in order to hide the comment section, you will have to disable the comments just as you have did with this page.

    If you need any more help or have additional questions, just drop a line here and I am happy to help.

    Greetings,
    Balint

  3. donohuge
    Member
    Posted 8 months ago #

    Perfect thankyou!!!!

  4. Noone Here
    Member
    Posted 8 months ago #

    You are welcome! If you need any more help, just post your questions here.

    Have a nice day!

    Greetings,
    Balint

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.