Displaying the sticky message widget area on all pages in Wellness Pro Theme

By default sticky message widget area is coming on home page only. Some users are wanting it on all pages. I spent some times and got it. Now I am sharing the step-by-step procedure here and my members can easily implement it on their sites.

Step 1

Open the front-page.php and remove this single line code from wellness_enqueue_front_script_styles() function.

wp_enqueue_script( 'wellness-front-script', get_stylesheet_directory_uri() . '/js/front-page.js', array( 'jquery' ), '1.0.0' );

This content is only available to members. You must subscribe the monthly membership plan ($9.99 USD).

Share This Article

C. Paul

Creating Genesis Framework related themes, plugins, articles and troubleshooting the issues. Also I am doing the freelance work for clients.

Subscribe Membership Plan ($9.99/mo)

  • Get full access to all premium tutorials
  • Get Support for the posted content
  • Request for specific how-to tutorials
  • Cancel the subscription at anytime

Reader Interactions

2 Discussion to This Post

  1. Nichelle says

    I received a fatal error: Fatal error: Cannot redeclare wellness_sticky_message() (previously declared in /home/XXXXXX/public_html/wp-content/themes/wellness-pro/functions.php:325) in /home/XXXXXX/public_html/wp-content/themes/wellness-pro/front-page.php on line 68

    • C. Paul says

      Remove the same function from front-page.php file and follow the all steps.

Leave A Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.