New button

Hi,

Is there a way to add a link to the “Pages” page in the button shown in the image. I want to be able to go directly to the “Pages” page from this menu.

Pages Button

<span class=“fl-builder-pages-button fl-builder-button”><?php _e(‘Pages’, ‘fl-builder’); ?></span>??

Hey Christopher,

I’ve already assigned another member of the team to assist your with your inquiry.

Ben

Hi Christopher,

There isn’t an easy way without some coding. If you’re fine with that, you could do it with jQuery…

jQuery( '.fl-builder-bar-actions' ).append( 'Your button HTML' );

Let me know if you have any questions about that.

Justin

I can easily add code into any files. Can you please show me where to insert the code.

Thank you so much for your help.

Hi Christopher,

Sure thing. You’ll want to add the following code (replacing “Your button HTML”) to a JavaScript file within your child theme and then enqueue that file using wp_enqueue_script.

jQuery( function(){
	    jQuery( '.fl-builder-bar-actions' ).append( 'Your button HTML' );
} );

Let me know if you have any questions about that.

Justin