Custom code and styles for CP Addons plugin for ClassiPress

The main idea behind the CP Addons plugin is to highlight some ClassiPress ads over others. Ad owners gladly pay for it and your site makes a profit. Below you will find few insights on how to style featured ads with samples.

Featured Ad Ribbons

A Ribbon is the most popular way to highlight featured ads. Usually, this is colored band with the text adjacent to a featured image or ad block in general.

Different ClassiPress versions and child themes have different styles, what requires different ways to add ribbons. Here we provide some samples for most frequent cases.

Featured Ads ribbon for ClassiPost v1.3.8

ClassiPost is one of the most popular ClassiPress v3 child themes, whose users done a lot of requests for custom CP Addons styles.

How it looks Featured Ads ribbon on the ClassiPost ad Code

Add the CSS code to the Additional CSS section of your theme Customizer:

.featured-ad_listing-vip .image-item { overf…
Read more about Custom code and styles for CP Addons plugin for ClassiPress
  • 0

How to make foldable Ad packages with CP Addons plugin

CP Addons plugin displays options for each Ad Package on an ad submit form. It replaces standard ClassiPress Ad packages drop-down with an expanded list of options. This instruction helps to make Ad Packages options foldable and display only options for selected package.

So, the default layout you can see on the image below.

CP Addons options for each Ad Package, default layout

There are separated sections for each price package, every section includes a list of add-ons. Packages can have different number of add-ons, depending on Include/ Exclude options. A user will see the full list of packages on the Create Ad page.

This looks pretty fine if you use few Ad Packages and Addons. Otherwise, you'll get a very long list of options.

To reduce this list, you may want to dynamically display Addons options only for selected Ad Package.

CP Addons options for each Ad Package, foldable layout

Unfortunately, currently there is …

Read more about How to make foldable Ad packages with CP Addons plugin
  • 0