Basically, just substitute your code from //show login widget to //if no menu in header-menu.php
Keep in mind that “_mi _before foundation-icons fi-torso” is an icon from foundation icons font. So you have to have the font installed or substitute icon for whatever you want.
Also, class “create” is another link that I use for when a user is logged in to show another icon, you can obviously delete it. In addition, some of the original code still there, in case if I need get back to original login menu.
In fact, if you just need a simple login logout the code could be much shorter.
-
This reply was modified 10 years by
Riskdiver.
I’ll make you a screencast a bit latter.
Thank you guys.
doucare1971
No plugin. Simple css code, mostly border-radius: 10px 10px 10px 10px; on divs.
okti
It’s quite easy. Userpro has a class “popup-login” that you have to implement inside the header-menu.php
In theme settings – show sign in/join, and disable top bar.
Just wanted to share my freshly opened web-magazin. It’s in russian, so don’t get scared when you see unfamiliar letters :). I see this project as a good example of what you can build on such an awesome framework as tagDiv’s “Magazine” theme.
CLUEbits.com
Thank you Lucian. No worries about delay. I have done it already, but thanks anyway!
A little addition. My custom post form has a field in which I can place an action hook if that’s of any help. Thx.
Hi Lucian. That’s just perfect! Of course, do_shortcode is so flexible, all my nice blocks could be placed anywhere! Thank you very much for the thorough explanation and wonderful support. Definitely will recommend your theme and your team to the people. I wish “tagdiv” all the best!
With best regards 🙂
Hey Lucian. Sorry for being such a noob, I’m a learner 🙂 I have found how to do it, so no worries mate. href= ‘ . get_author_posts_url($current_user->ID) . ‘ class=”td-icon-user”>’ . ‘
Just 2 more questions if I can. Can we add a pull-down ajax filter to a block on the author’s posts template (so users can use it to filter the posts (7 days popular, random, etc. filter or categories filter) and can we modify classic pagination of the author’s post template (is it loop.php?) for similar what blocks have (infinite load, Load More button etc.)?
-
This reply was modified 11 years by
Riskdiver.
Hello Lucian! Thanks for such a quick reply. I must have been blind, missed the author’s template. Template is almost perfect. Sorry if it is a hassle for you but could you give me a little hint how to link my to the current author’s page? Do you use get_the_author function?
This is my current modified Logout section. Just need making one of the icons linking to the author’s page. Right now both of the icons linking to the pages made by me.
//<span class="td-sp-ico-logout"></span> echo '<ul class="top-header-menu td_ul_logout"> <li class="menu-item">' .'' . '<li class="menu-item">' . '
And regarding my second question. I’m not gonna be using side panel in my little project, so no worries. However, I have made a little video so you can see what it was all about. https://www.youtube.com/watch?v=t3kNb7HF-z4&feature=youtu.be
Thank you for your help and support.