WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Show Hide Author

Choose whether to show or hide the author's name.

How to remove the "by" word?

If you are unfamiliar with using firebug (or similar debug tools), then send me an email ( m.spyratos@hotmail.com ). Otherwise, follow these simple steps.

STEPS

  1. Locate the by word you want to remove, by using firebug.
  2. Find the class of the parent container that contains the by word and its tag.
  3. Go to the plugin settings, near the bottom of the page and fill-in:

Advanced: Hide the "by" word

The parent classes: class
The regular expressions: by

EXAMPLE
Let's say that when you locate the by word with firebug, you find this html code:

<div class="meta-text">
    <span class="meta-author">by </span>
</div>

Then you should enter:

The parent classes: meta-text
The regular expressions: by

BE CAREFULL
This will replace all by words inside the meta-text class (if more than one exists) and it won't remove the <span> tags surrounding by.
So even better use something like this:

The parent classes: meta-text
The regular expressions: <span class="meta-author">by </span>

OR by using regular expressions.

The parent classes: meta-text
The regular expressions: <span class="meta-author(.*?)/span>

Requires: 3.0.1 or higher
Compatible up to: 3.5.2
Last Updated: 2013-3-13
Downloads: 27,299

Ratings

5 stars
5 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,2,2 100,3,3
100,1,1