Support » Plugin: Connections Business Directory » Move Category descriptions

  • Resolved propertytips

    (@propertytips)


    Could you please advice on how to get the “category description” to display BELOW the category page listings rather than at the TOP.

    I want all the listings on the category page to display on top of the category description

    Kind Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    Please install the Code Snippets plugin:

    Create a new snippet with this code:

    add_action(
        'plugins_loaded',
        function() {
            remove_action( 'cn_action_list_before', array( 'cnTemplatePart', 'categoryDescription' ) );
            add_action( 'cn_action_list_after', array( 'cnTemplatePart', 'categoryDescription'), 10, 2 );
        }
    );

    I hope this helps!

    • This reply was modified 2 years, 5 months ago by Steven. Reason: fix code
    Thread Starter propertytips

    (@propertytips)

    Excellent!!

    Exactly what I needed

    Thanks

    Thread Starter propertytips

    (@propertytips)

    Hi Steven,

    I notice that on the “category descriptions” in the admin panel cannot be turned off as the browse options tab usually located at the top of the screen on the right is missing. Please see image link below:

    connections category page

    Please advice on how to stop the category descriptions showing in the admin panel.

    Kind Regards

    Plugin Author Steven

    (@shazahm1hotmailcom)

    Sorry, it is not possible to hide the display of the category description in the admin.

    Thread Starter propertytips

    (@propertytips)

    Thanks for letting me know.

    Kind Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Move Category descriptions’ is closed to new replies.