cellydy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Hide ‘register’ menu when logged in!Thanks for all your Help!
Cheers
Forum: Fixing WordPress
In reply to: Hide ‘register’ menu when logged in!fantastic!
And finally! (:P)
If I want to hide ‘Profile’ Link from NON logged on people? (so it just displays Login + Register)
Could you please help out this last time?
Thanks soooooo much for your help 🙂
Forum: Fixing WordPress
In reply to: Hide ‘register’ menu when logged in!Worked!
Could you also hide the ‘login’ link (as they are already logged in :P)
I tried but I didnt manage for it to work :S
Cheers for all your help btw 🙂
Forum: Fixing WordPress
In reply to: Hide ‘register’ menu when logged in!This is what I found
<?php
if (get_option(‘woo_nav’) == ‘true’ )
wp_list_categories(‘sort_column=menu_order&depth=3&title_li=&exclude=’);
else
wp_list_pages(‘sort_column=menu_order&depth=3&title_li=&exclude=’);
?>I selected list by Pages in the admin panel.
How Do I edit that for it to work?
Cheers
Forum: Fixing WordPress
In reply to: Hide ‘register’ menu when logged in!Unfortunately I’m not to pro at all this 🙂
I found w-_list_pages in the header.php and thats where i replaced the data.
It didnt work (It completely deleted the menu 🙁 )
Is that the wrong place or does it not work?
Forum: Fixing WordPress
In reply to: Hide ‘register’ menu when logged in!wp_list_pages yep
Forum: Fixing WordPress
In reply to: Hide ‘register’ menu when logged in!site is: http://www.wowgoldadvisor.com
How Can I configure:
if(is_user_logged_in()){ //Then user is logged in do what you want here for logged in users else{ //User is not logged in do what you want here for non-logged in users } ?>so that in the main menu of my site under ‘User’ It hides ‘Register’ when user is logged in and ‘Profile’ when not logged in?
The menu displays pages.
Forum: Fixing WordPress
In reply to: Hide ‘register’ menu when logged in!Ill try xdesi’s proposal cause that sounds just like what I need 🙂
Forum: Fixing WordPress
In reply to: Hide ‘register’ menu when logged in!Well this is what I mean:
A user can register and then login. When a user is logged in I want him not to see the ‘register’ option in the menu as he is already registered (and logged in).
Is there a way to make ‘registered’ users not see certain pages?
Forum: Fixing WordPress
In reply to: [Help} Remove Post Info from above postWorked THANKS ALOT!
Forum: Fixing WordPress
In reply to: [Help} Remove Post Info from above postBump :S
Forum: Fixing WordPress
In reply to: [Help} Remove Post Info from above post<?php get_header(); ?> <?php if ( get_option('woo_home') == 'true' ) : include (TEMPLATEPATH . '/custom-home.php'); else : ?> <div id="content"> <div id="main"> <h3 id="myWritings" class="replace"><?php _e('My Writings. My Thoughts.',woothemes); ?></h3> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="box1 clearfix"> <div class="post clearfix"> <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3> <p class="txt0"><?php edit_post_link('Edit', '', ''); ?> // <?php the_time('F jS, Y') ?> // <?php comments_popup_link(__('No Comments »', woothemes), __('1 Comment »',woothemes), __('% Comments »',woothemes)); ?> // <?php the_category(', ') ?></p> <?php the_content(__('<span class="continue">Continue Reading</span>',woothemes)) ?> </div> </div> <?php endwhile; ?> <div class="navigation nav clearfix"> <div class="fl"><?php next_posts_link(__('« Older Entries',woothemes)) ?></div> <div class="fr"><?php previous_posts_link(__('Newer Entries »',woothemes)) ?></div> </div> <?php else : ?> <h2 class='center'><?php _e('No posts found',woothemes); ?>.</h2> <?php endif; ?> </div><!-- / #main --> <?php get_sidebar(); ?> </div><!-- / #content --> <?php endif; ?> <?php get_footer(); ?>Could anyone please edit this for me?
Cheers
Forum: Fixing WordPress
In reply to: [Help} Remove Post Info from above postThe error:
Fatal error: Call to undefined function get_header() in /home/lulzfact/public_html/index.php on line 1
Forum: Fixing WordPress
In reply to: [Help} Remove Post Info from above postI had a look at index.php
I removed:
<p class=”txt0″><?php edit_post_link(‘Edit’, ”, ”); ?> // <?php the_time(‘F jS, Y’) ?> // <?php comments_popup_link(__(‘No Comments »’, woothemes), __(‘1 Comment »’,woothemes), __(‘% Comments »’,woothemes)); ?> // <?php the_category(‘, ‘) ?></p>
Which is exactly what I want to get rid of but then it gives me a
Error on line 1 when I refresh page with new index
The only way to fix it back is to Upgrade WordPress from the control panel :S (re install it from user CP)
Any ideas?