We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x
Private

Wordpress Post details

doctorbill
doctorbill asked
on
High Priority
35 Views
Last Modified: 2020-06-22
I need to get rid of the details on the attached page - the post date, name details
There are a number of pages which have these details on and I need to get rid of them on all the pages
It is a Wordpress site

This is a possibility but I am reluctant to add it in case I can't undo it - I don't want to break the site:

/* Remove metadata */
.entry-meta .byline, .entry-meta .cat-links { display: none; }
.entry-meta .posted-on { display: none; }

Any ideas anyone
Capture.PNG
Comment
Watch Question

You should find the template that holds this html and move it into your child theme and remove it.  Do a code search for "posted-on" and you will find the template.  In the meantime, your mentioned method will work.

Author

Commented:
Where do I do the search from
Also, if I use the code above, can I undo it from the theme gui or will I need to locate it in a file
You can place that code in the CSS file.  Can you please send a URL?  Also, what theme is being used?  Can you confirm that you are using a child theme?

Author

Commented:
Bridge Child
In your dashboard do you see: Qode Options>General>Css.

Author

Commented:
I see Quode Options > General > Custom CSS
Put this at the bottom of that file and save:

/* Remove metadata */
.entry-meta .byline, .entry-meta .cat-links { display: none; }
.entry-meta .posted-on { display: none; }

Author

Commented:
Will try and let you know

Author

Commented:
Do I put it in the custom css field?

Author

Commented:
Just tried it - makes no difference at all

Author

Commented:
Please advise

Author

Commented:
Do I need to edit the original css file as well as add the script?

Author

Commented:
Anyone there?

Can you send a url, please?
Do you have access to the site files - the child theme? What editor do you use?  I believe the easiest way is going to change the template.

What editor do you use?  Search the theme for: post_author.  That way you can find the theme template that holds the post author info.  The way you posted at the beginning does not work nor will it.

Author

Commented:
How exactly do I search in the theme - using the file manager in cpanel?, in wp-admin?

Author

Commented:
vc_gitem_post_author.php

This is all I could find

Author

Commented:
I used the development tools to inspect the page and managed to get these details
I know this is the correct page because if I delete the relevant css in the page the headings vanish - excellent
Problem: PLEASE PLEASE tell me how to locate this page in the WordPress site using either WP-Admin or Cpanel file manager
I need to be able to edit it and save the edits
I just cannot locate it

Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
.blog_single .post_text h2.entry_title, .blog_single .post_text .post_info { display: none; }
That did it !!!!!!
Thanks so much for your persistence in this - awesome !!!!!



No worries.  I am glad that I could help.

Author

Commented:
I have a new question to ask:
Obviously this will be a completely separate question and will add new points
Take a look at the following on a pc in chrome (for example):

https://tr-projectsgroup.com/why-tr/
On a pc the page displays correctly
On a mobile device (I am using an emulator) it displays in the following way - all the text is in overlay mode
Do you have any idea how I can fix it - the theme is Bridge Child as above
I would really appreciate your help on this


Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
That got  it
Once again - thanks for the solution
Spot on
Been on this for ages
What exactly is the CSS doing?
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
Perfect
Once again - thanks for the solution

Author

Commented:
Not sure how I award points for this

Author

Commented:
I want to give full points
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.