WordPress.org

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

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
Active Installs: 20,000+

Ratings

5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

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