Market Press Description Placement

Hello, I been looking to see if others have requested this but I didn't see any full answers. My client wants the full description to show but not under the product but where the description is instead. Is this possible? So only full description no except, but in the excerpt current location in screen shot...

http://imgur.com/a/mbTDV

Thank you!

  • Rupok

    Hi Nolan Tarantino,

    Thanks for asking. The simplest way of doing this will be creating a MU Plugin. For creating a MU Plugin, create a folder named "mu-plugins" inside your "wp-content" folder. Then inside that "mu-plugins" folder, create a file with any name and with a .php extension. Now paste the code inside that file and save.

    <?php
    add_action( 'wp_footer', 'mp_change_description_location' );
    function mp_change_description_location() {
        ?>
        <script type="text/javascript">
            jQuery(document).ready(function() {
                jQuery('.mp_product_excerpt').replaceWith(jQuery('.mp_product_tab_content_text').html());
            });
        </script>
        <?php
    }

    For getting more idea on MU Plugins, you can go through this article: http://premium.wpmudev.org/manuals/wpmu-manual-2/using-mu-plugins/

    After this, you will need to use the following custom CSS code:

    .mp_product_tab_content_text {
    	display: none;
    }

    You can add this to a theme's stylesheet, in a child theme, or using a plugin like My Custom CSS.

    I believe this will do what you are looking for.

    Please let us know if you have any confusion or any further query. We will be glad to help.

    Have a nice day. Cheers!
    Rupok

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.