Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1076636
    suzannereid
    Participant

    Hi All!
    I worked out a shorter code that allows you to link your Featured List Titles. (see example: https://creatingimpact.net/resources/#books)

    Place the following code in your page’s Custom Javascript area and make sure you add your class to the specific featured list item that you will want to link.

    (function($){
    
    	var data = {
    		'.my-class .x-feature-box-title': '#yourlinkhere',
    		'.my-class2 .x-feature-box-title': '#yoursecondlinkhere',
    		
    	}
    
    	$.each(data, function(i, v) {
    		var text = $(i).text();
    		$(i).html('<a href="' + v + '">' + text + '</a>');
    	});
    

    Maybe It’s helpful to someone! 🙂

    #1076907
    Joao
    Moderator

    Hi There,

    Thanks very much for the input for the community it might be useful indeed for people in the community.

    I am saving it myself for future opportunities.

    Thanks,

    Joao

  • <script> jQuery(function($){ $("#no-reply-1076636 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>