Remove “by” in the author in main page

This topic is empty.

Viewing 4 reply threads
  • Author
    Posts
    • #2227


      Emrah Gölbaşı
      Guest

      İn the front page, I want to remove some parts as below:

      – “by:…” I only want to see the name of the author without “by” in the highlight area

      – “posted on:…” and “posted by:…” in the posts in the main page

      Thanks

    • #2228


      Spiracle Themes
      Guest

      Hi Emrah,

      the By in the highlight area can be removed easily by the CSS below

      span.by {
      display: none;
      }

      Copy and paste it in Appearance -> Customize -> Additonal CSS

      For removing the Posted by and Posted on text, you’ll have to edit the code file. If you’re comfortable to edit then we can proceed further

      Let us know if you have any questions

      Best Regards

    • #2229


      Emrah Gölbaşı
      Guest

      Hello again,
      Thanks for sharing the CSS. It worked.
      For the second issue;
      I would like to keep the date and author information but only remove the “posted on” and “posted by” expressions from there.
      I appreciate if you can guide me through code modification.

    • #2230


      Spiracle Themes
      Guest

      Hi Emrah,

      Please follow the steps below

      1) Go to your theme root directory ie (wp-content/themes/purea-magazine)
      2) Open folder template-parts/post/ and open file content-single.php with the text editor.
      3) Find line number 31 and 32 and remove the text Posted on and Posted by

      Let us know if you have any questions

      Best Regards

    • #2231


      Emrah Gölbaşı
      Guest

      Thank you for the support. It worked👍

Viewing 4 reply threads

Reply To: Remove “by” in the author in main page

Your information:




Cancel