Forum Replies Created
-
AuthorPosts
-
October 4, 2022 at 12:10 pm in reply to: Customize the design and content of the Mini Login Form #24560
Josch
ParticipantHi Ryan,
not really, I’m still waiting for an answer from the user mbrsolution. On August, 25th he wrote
“I have submitted a message to the developers to investigate further your request.”
@mbrsolution: What about my question/request. Anything informational from the developers?Best wishes
Josch
August 29, 2022 at 4:19 pm in reply to: Customize the design and content of the Mini Login Form #24339Josch
ParticipantHi sezg,
thanks for sharing your solution.
But I have the mini widget positioned in the page header via a build in function of my theme “The7”. So I would need a hook from that theme to place that add_filter in this “micro widget” as they call their functionality and I haven’t found any hook for this. So a simple membership plugin hook would be easier for me. It seems as I have to wait for an answer of the developers.
August 26, 2022 at 4:19 pm in reply to: Customize the design and content of the Mini Login Form #24324Josch
ParticipantHi,
i would need a hook to overwrite the public function swpm_show_mini_login_sc from
/simple-membership/classes/shortcode-related/class.swpm-shortcodes-handler.php
so that I can delete some of the “output” lines and change on of these lines.
I only need a button “Login” in the head of my site. That should be changed to “Logout”
when the user is logged in. I nearly realised that with a handful of css:.swpm_mini_login_no_membership, .swpm_mini_login_join_now, .swpm_mini_login_label, .swpm_mini_login_username, .swpm_mini_login_profile { display: none; }But then the “|” from the line
$output .= '<span class="swpm_mini_login_logout"> | <a href="' . $logout_url . '">' . SwpmUtils::_( 'Logout' ) . '</a></span>';still persists.
Would it be possible that I can overwrite that in my themes functions.php file
with an add_filter function?Thanks a lot in advance 🙂
-
AuthorPosts