Forum Replies Created
-
Author
-
jwchameleoncorpParticipant
Hi @radu
I activated Kleo Parent Theme and the issue DOES NOT happen.
I followed your instructions for the DEBUG and copied the log. Here is what it said when the Child Theme is activated, and I tried to upload the picture again (see below.) I don’t know if any of that makes sense to you? Waiting for your reply. Cheers and thanks for the help.
[09-Dec-2016 22:24:15 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! Use
COPY CODE__construct()
instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
[09-Dec-2016 22:24:20 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! UseCOPY CODE__construct()
instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
[09-Dec-2016 22:24:23 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! UseCOPY CODE__construct()
instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
[09-Dec-2016 22:24:23 UTC] PHP Notice: Undefined index: redirect_to in /home/swiftbus/public_html/5firemen.com/wp-content/plugins/pmpro-cpt/pmpro-cpt.php on line 24
[09-Dec-2016 22:24:23 UTC] PHP Notice: WP_Admin_Bar::add_node was called incorrectly. The menu ID should not be empty. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 4091
[09-Dec-2016 22:24:25 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! UseCOPY CODE__construct()
instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
[09-Dec-2016 22:24:25 UTC] PHP Notice: Undefined index: redirect_to in /home/swiftbus/public_html/5firemen.com/wp-content/plugins/pmpro-cpt/pmpro-cpt.php on line 24
[09-Dec-2016 22:24:26 UTC] PHP Notice: WP_Admin_Bar::add_node was called incorrectly. The menu ID should not be empty. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 4091
[09-Dec-2016 22:24:35 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! UseCOPY CODE__construct()
instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
[09-Dec-2016 22:24:48 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! UseCOPY CODE__construct()
instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
[09-Dec-2016 22:24:55 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! UseCOPY CODE__construct()
instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
[09-Dec-2016 22:25:09 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! UseCOPY CODE__construct()
instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
[09-Dec-2016 22:25:10 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! UseCOPY CODE__construct()
instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
[09-Dec-2016 22:25:15 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! UseCOPY CODE__construct()
instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
[09-Dec-2016 22:25:16 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! UseCOPY CODE__construct()
instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
[09-Dec-2016 22:25:16 UTC] PHP Notice: Undefined index: redirect_to in /home/swiftbus/public_html/5firemen.com/wp-content/plugins/pmpro-cpt/pmpro-cpt.php on line 24
[09-Dec-2016 22:25:17 UTC] PHP Notice: WP_Admin_Bar::add_node was called incorrectly. The menu ID should not be empty. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 4091
[09-Dec-2016 22:25:35 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! UseCOPY CODE__construct()
instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
[09-Dec-2016 22:25:36 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! UseCOPY CODE__construct()
instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
[09-Dec-2016 22:25:41 UTC] PHP Notice: The called constructor method for WP_Widget in stw_show_sub_categories is deprecated since version 4.3.0! UseCOPY CODE__construct()
instead. in /home/swiftbus/public_html/5firemen.com/wp-includes/functions.php on line 3846
jwchameleoncorpParticipantHi @laura
I figured out what I did wrong. Tried it again, and got it right. 🙂
However, how do I specify a link in the menu that is specific to the user? For example, how do I specify a link that directs the user to his/her forums, instead of all forums?
Right now I have this code in my functions.php child theme file:
COPY CODEadd_filter('header_profile_dropdown', 'my_profile_link'); function my_profile_link($links) { $links[] = '<li><a href="http://matchingglove.com/forums" rel="nofollow">Forums</a></li>'; return $links; }
As you can see, the code is for all forums. I want to place links in the Profile Menu Drop down that are specific to the user’s profile. Example of a link destination would be: http://www.matchingglove.com/members/user/groups/
How do I do that for all the links I place there?
Thanks for your help!!!
jwchameleoncorpParticipantHi @radu
I checked my styling options. Looks to me like black is the color it should be (see attached snapshot).
However, you and I have done some custom CSS for the top section fonts to be white (see below.) Could this be causing the error?
Thanks!
—————————-
COPY CODE.header-color.social-header { background-color: #000000; } #top-social li, #top-social li a, #top-social li i, #top-social li .ts-text {color: #fff !important;} .top-menu li.bp-login-nav a:before, .top-menu li.bp-register-nav a:before {color:#fff !important;} ul#menu-kleotopmenu i.icon {color:#fff;} .top-menu ul#menu-kleotopmenu li.kleo-menu ul.dropdown-menu a { color:#333 !important; } .header-color .top-menu li > a, .header-color #top-social li a { color:#fff !important; } .kleo-carousel-container .entry-summary { display: none; } .vc_column_container a.bbp-forum-title { color: #fff !important; } .header-color .top-menu li > a span.caret:after { color: #fff !important; font-weight: bold !important; } .kleocustomsection .template-page, .sidebar { padding-top: 0 !important; padding-bottom: 0 !important; } .kleocustomsection input#bp-login-widget-user-login { width: 100% !important; } .widget_bp_core_login_widget a, .widget_awpcp-categories a { color: #fff !important; } .header-color .dropdown-menu li a { color: #333 !important; } @media(max-width:620px) { a.btn.kleo-show-login.with-icon.btn-link.btn-lg { font-size: 1em; } h3.feature-title { color: white !important; }
————————————–
Attachments:
You must be logged in to view attached files.jwchameleoncorpParticipantHi @laura,
Okay, I added the code as suggested and it crashed my whole site! Getting a bit frustrated.
Here’s the code and a snap shot of the editor AFTER putting it back to the way it was before adding the code. Even after deleting the new code, it does not work!
COPY CODEadd_filter('header_profile_dropdown', 'my_profile_link'); function my_profile_link($links) { $links[] = '<li><a href="http://mydomain.com/help" rel="nofollow">Help</a></li>'; return $links; }
Attachments:
You must be logged in to view attached files. -
AuthorPosts