Title: functions.php in lifter launchpad theme
Last modified: June 13, 2022

---

# functions.php in lifter launchpad theme

 *  Resolved [kbtwen](https://wordpress.org/support/users/kbtwen/)
 * (@kbtwen)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/functions-php-in-lifter-launchpad-theme/)
 * Hi,
    I have installed lifterlms launchpad, but I have some problems about functions.
   php in the lifter launchpad theme.
 * The functions I created could not work as expected.
 * For example:
    1. I created my own wp_head function as below to load css, but 
   it didn’t load the functions. function add_css_head() { if (!is_user_logged_in()){//
   if not logged in ?> <style> .btn-forside { display: none !important; } </style
   >
 *  <?php
 *  } else { //if logged in
    ?> <style> .reg-forside { display: none !important;}
   </style>
 *  <?php
    } } add_action( ‘wp_head’, ‘add_css_head’ ,10);
 * 2. The page turned out to be blank, because “the_content” function didn’t return
   the content I added as below:
    add_filter(‘the_content’, ‘add_content’); function
   test_add_content($content) { return $content.”test add content”; }`
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffunctions-php-in-lifter-launchpad-theme%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Natalie](https://wordpress.org/support/users/nrherron/)
 * (@nrherron)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/functions-php-in-lifter-launchpad-theme/#post-15739723)
 * Hi [@kbtwen](https://wordpress.org/support/users/kbtwen/),
 * Since you’ve purchased a LaunchPad through LifterLMS.com please open a new support
   request from your LifterLMS.com account dashboard.
 * WordPress does not posting in these forums for commercial products.
 * We are definitely happy to help! Just head on over to your LifterLMS account 
   and submit a support request from your account dashboard.
 * Best,
 *  Thread Starter [kbtwen](https://wordpress.org/support/users/kbtwen/)
 * (@kbtwen)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/functions-php-in-lifter-launchpad-theme/#post-15739820)
 * Hi,
    I tried to submit a support request but it says “In order to respond to 
   this thread you must be eligible for LifterLMS Premium Support.”
 * Is there anyway I can do it in my account dashboard?
 * Best

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘functions.php in lifter launchpad theme’ is closed to new replies.

 * ![](https://ps.w.org/lifterlms/assets/icon.svg?rev=2034507)
 * [LifterLMS - WP LMS for eLearning, Online Courses, & Quizzes](https://wordpress.org/plugins/lifterlms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lifterlms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lifterlms/)
 * [Active Topics](https://wordpress.org/support/plugin/lifterlms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lifterlms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lifterlms/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [kbtwen](https://wordpress.org/support/users/kbtwen/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/functions-php-in-lifter-launchpad-theme/#post-15739820)
 * Status: resolved