an
groups-icon

How can I have more than one code in footer style?

Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
  • Version 9
    Markus Schrangl
    0 points
    Beginner

    Hi there, I am really a fan of all those helpful codes in footer style as I have no knowledge about PHP. Premiumpress Directory theme is really great to adapt also for newcomers.

    But I have to ask this may be stupid question:
    How can I have more than one code in footer style?

    I would like to use the codes below that I found in the forum – can please somebody give me a hint how to use them together? How in general can I add further codes in footer style? And do I have to write something between the “” in the code? Thanks a lot for your help in advance!!

    <script>
    jQuery(“#SUBMISSION_FORM .tcbox”).each(function(index, element) {
    jQuery(this).click(function() {
    if (jQuery(this).children(‘input’).is(‘:checked’)) {
    jQuery(this).parent().find(‘.tcbox input’).attr(‘checked’,true);
    }else{
    jQuery(this).parent().find(‘.tcbox input’).attr(‘checked’,false);
    }
    });
    });
    </script>

    [code title=””]
    <script>
    jQuery(“.wlt_search_results.grid_style h2 a “).each(function(){
    if(jQuery(this).text().length > 50){
    jQuery(this).text(jQuery(this).text().substr(0,50));
    jQuery(this).append(‘…’);
    }
    });
    </script>
    [/code]

    #form-row-rapper-post_tags label,#form-row-rapper-post_tags .field_wrapper {
    display:none
    }

    March 12, 2016 at 9:19 am
  • Josh njenga
    -13 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    March 14, 2016 at 4:00 pm
  • Markus Schrangl
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    March 14, 2016 at 7:43 pm
  • Josh njenga
    -13 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    March 15, 2016 at 3:20 pm
  • Markus Schrangl
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    March 16, 2016 at 8:42 pm
  • Josh njenga
    -13 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    March 17, 2016 at 1:14 pm

509

Views

5

Replies