Skip to content

Add Text / HTML / PHP widget

Learn how to add text (plain text, HTML, PHP) widget in Classibase.

Adding text widget is similar to adding any widget in Classibase CMS. Depending on your theme you can add any widget to one of many widget locations.

Follow these steps to add text widget

Add new text/HTML widget to your classifieds website. Text widgets used to ad custom ad code.

  1. Navigate to “Appearance” → “Widgets” page on admin panel of your classifieds website.
  2. Select widget location for example “Content bottom”.
  3. Click “Add widget” button then select “Text” from popup menu. Text widget allows pasting plain text, HTML or PHP code.
  4. Widget will be added to the bottom of the list.

These steps are similar to adding any widget in Classibase. Default widget types include list of locations, list of categories (subcategories), latest or featured ads, list of users, RSS links, search form widget etc.

Add content to Text widget

Put AdSense to your classifieds website. Custom HTML/JavaScript ad code.

  1. Click edit button on the right of the widget.
  2. Fill "Title" and "Text" fields. "Text" field can be plain text or HTML/PHP code. If you have multilingual classifieds website paste ad code to other locales as well by clicking on the locale flag at the top of the popup window.
  3. Set "Text format" field to match your text.
  4. “Hide on following page types” field allows to hide this widget on some page types.
  5. Then save the text widget.
  6. You can move widget to new position by clicking arrows icon next to the edit button.

Check your website for changes. Place as many text widgets as you want.

FAQ

Insert a iframe (piwik) in a subsite

hi,
i have made a subsite .. normal text looks fine .. but if i do a iframe in this site .. it shows only the source text in the site not the (i)frame?

— mrbird

Answer:

If you want to use iframe then use Text widget and select “Text format” as “HTML / JavaScript”.

How to add Google Analytics tracker?

Analytics code can be added in 2 place.

  1. To "Custom footer" field on "Settings" → "Header/Footer" page. This will track frontend and backend pages. (view related tutorial, also has optimized implementation of Analytics code.)
  2. As a text/HTML widget. This code will track only frontend page views.

What is next:

Leave a Reply

Your email address will not be published. Required fields are marked *