I would like to move a button

I was wondering if you can assist me in moving the subscribe shortcode below the favorite button

  • Abdul Wajed
    • Staff

    Hi eTech,

    I hope you are well today. :slight_smile:

    The following function should help you to move favorite button:

    add_action( 'wp_footer', 'reorder_subscribe_button' );
    function reorder_subscribe_button(){
    	jQuery( document ).ready(function($) {
    		if($("#m2p-subscribe-button").length) {

    You can add this to your theme's functions.php file, before the closing PHP tag, or, if it's something you'll want no matter which theme you're using, you can add those codes as mu-plugins. To use mu-plugins, go to /wp-content/ and find the folder with name 'mu-plugins'. If there is no folder in that name, then create a folder, name it 'mu-plugins', create a file inside that, give any name you like and paste the code in there. You don't need to activate that plugin. Mu-plugins means must use plugins, so it will be activated automatically always. If you use mu-plugins then add a PHP start tag at the beginning of the code.

    Hope this helps! Please let me know if you need any further assistance. :relaxed:

    Have a nice day.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.