All posts filed under “Howto

Remove HTML comments from WordPress

Follow the instructions below to remove a HTML comment from your WordPress site with Lucas String Replace:

  1. Go to “Settings” → “Lucas String Replace”
  2. Click “Add new”
  3. Copy and paste the comment from the source code into the search field
  4. Enter a single space character into the replace field
  5. Click “Save”

Remove HTML on all WordPress pages

Follow the instructions below to change HTML on all pages of your WordPress site with Lucas String Replace:

  1. Go to “Settings” → “Lucas String Replace”
  2. Click “Add new”
  3. Copy and paste HTML into the search field
  4. Enter a single space into the replace field
  5. Click “Save”

 

WordPress: Create placeholders for content in posts and pages

With Lucas String Replace you can create simple placeholders and static variables that you can use in any content of your WordPress site. Instead of the placeholder, your replace text will show up on the frontend. You can use that to insert speacial content, names, html, styles or anything else.

  1. Go to “Settings” → “Lucas String Replace”
  2. Click on “Add new”
  3. Enter a unique phrase into the search field, e.g. “((loremipsum))” or “{my_special_content}”
  4. Enter the content you want to show up insted of the placeholder into the replace field
  5. Click on “Save”

Afterwards you can use the placeholder in posts and pages.