admin管理员组

文章数量:1405148

Closed. This question is off-topic. It is not currently accepting answers.

Closed 5 years ago.

  • Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?
  • Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Improve this question

I have a little issue with removing the Category and Author from my single portfolio pages. I tried different suggestions from other posts here and nothing worked, I also tried to modify the code myself and am hitting a wall again. Apparently it seems the right code to be added is strictly individual depending on the page and I was hoping someone can give me a little nudge. I'am using the Edge theme and there's the link to one of the pages that I'm trying to work on:

/?portfolio-item=wireless-control

Thank you all in advance!

Closed. This question is off-topic. It is not currently accepting answers.

Closed 5 years ago.

  • Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?
  • Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Improve this question

I have a little issue with removing the Category and Author from my single portfolio pages. I tried different suggestions from other posts here and nothing worked, I also tried to modify the code myself and am hitting a wall again. Apparently it seems the right code to be added is strictly individual depending on the page and I was hoping someone can give me a little nudge. I'am using the Edge theme and there's the link to one of the pages that I'm trying to work on:

https://etc-fos4panel-prd.azurewebsites/?portfolio-item=wireless-control

Thank you all in advance!

Share Improve this question asked Dec 31, 2019 at 16:36 krystnikakrystnika 1
Add a comment  | 

1 Answer 1

Reset to default 1

if not remove by code and other setting then try to hide it by using the css, Use body class so it will not affect on other single pages

.single-portfolio .author, .single-portfolio .cat-links{display:none}
or 
.single-portfolio-item .author, .single-portfolio-item .cat-links{display:none}

本文标签: cssHow to remove Author and Category from a single portfolio page