Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #1356080
Banner
Closed

Comments

  • manovfaith started the conversation

    Love the idea of the banner in the header (3), but am I able to put a shortcode in there instead of Google Adsense code? I am using Ads Pro, but just putting the shortcode in there doesn't work. The plugin offer many options, but I can't get any to work. See link >> http://adspro.scripteo.info/documentation/#display-methods

    Any ideas?

  •  2,701
    PenciDesign replied

    Hi,

    To do that, you need to edit the header.php file in this theme.

    Please replace this code to:

    <?php if( get_theme_mod( 'penci_header_3_adsense' ) ):  echo do_shortcode( get_theme_mod( 'penci_header_3_adsense' ) ); endif; ?>

    After that, put your shortcode to Customize > Logo and Header Options > Google adsense code to display in header 3

    Note: 

    You should replace  all character  "  to  '  on your shortcodes to put it there.

    Example:

    [shortcode  display="true" /]

    replace to:

    [shortcode  display='true' /]

    Best Regards,

    PenciDesign

  • manovfaith replied

    Worked like a charm. Thanks!

  • manovfaith replied

    Another question.

    Similar thought. I want to place an ad from Ads Pro below the category on the front page. I know this is done through categories, but The result is the same. What & where do I insert some code to fix this?

  •  2,701
    PenciDesign replied

    Hi,

    Do you mean that you want to put it below the posts on category page?

    Best Regards,

    PenciDesign

  • manovfaith replied

    On the homepage below the categories

    http://67.215.1.26/~marmeswm/

  •  2,701
    PenciDesign replied

    Hi,

    To do that, please do following steps:

    1/ Install plugin WPide

    2/ Go to admin > WPide > themes > soledad > inc > modules > click to open featured-categories.php file and on line 129, replace this code:

    <?php echo stripslashes( $cat_ads_code ); ?>

    TO:

    <?php echo do_shortcode( stripslashes( $cat_ads_code ) ); ?>

    3/ When you done, go to Posts > Categories > edit your featured categories > put the shortcode to Add Google Adsense Code/Custom HTML below this category


    Best Regards,

    PenciDesign

  • manovfaith replied

    Worked like  a charm. Edited the code through cpanel. Thanks a bunch!