• Resolved sulive

    (@sulive)


    Hi, I have some questions:

    1. On the front page I have added the shortcode: [adverts_list list_type=”featured”] to only show the featured ads. Is there a possibility to only show the title of the featured which should be clickable to show the complete ad?

    2. Are there possibilities to add Adsense code between ads when using [adverts_list]?

    3. I have defined one type of payment for ads. Suppose that I enter a duration of 15 days to be visible. But there is also a standard visibility of 30 days (via the general settings). How does that work? Do the 15 days overrule the standard visibility duration?

    Many thanks,
    Silvia

Viewing 1 replies (of 1 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    1. currently there are no params to customize how the [adverts_list] is displayed, if you only want to show the title, then above the shortcode you can add the following CSS code, it will hide everything except the title

    
    <style type="text/css">
    .advert-img, .advert-published {
        display: none;
    }
    .advert-item-col-1 .advert-post-title {
        margin-left: 0;
        padding: 0;
        margin: 0;
        display: inline-block;
        vertical-align: middle;
    }
    span.advert-link {
        display: inline !important;
    }
    </style>
    

    This should work assuming you are using [adverts_list] in list view mode.

    2. there is no filter for this i am afraid, the only way to add the Adsense between ads in the [adverts_list] would be to customize the wpadverts/templates/list.php template file.

    If you decide to do that, consider creating a child template file for list.php so your changes will not be overwritten on update https://wpadverts.com/documentation/child-themes-and-templates/

    3. yes, the settings set in Pricings will override the default duration set in wp-admin / Classifieds / Options / Core panel.

Viewing 1 replies (of 1 total)
  • The topic ‘Summary featured ads and adsense’ is closed to new replies.