dotblend
Forum Replies Created
-
Forum: Your WordPress
In reply to: http://www.ves.nlunfortunatly i cant release this to the public..
Forum: Fixing WordPress
In reply to: current user can / cannotbut somehow this does not work in ie6…
does someone have a solutions for this?<?php if (current_user_can('read') ) wp_list_pages('&exclude=1,231&sort_column=menu_order&title_li&depth=3'); ?> </li> <li><?php if (current_user_can('read') ) $link = '<a href="' . get_settings('siteurl') . '/wp-login.php?action=logout">' . __('Logout') . '</a>'; else $link = '<a href="' . get_settings('siteurl') . '/wp-login.php">' . __('Login') . '</a>'; echo apply_filters('loginout', $link);?></li>Forum: Fixing WordPress
In reply to: How to remove a comment link?you can remove the comment link but thats alot of work and hacking
basic idea is, you add a “no comment” tag to the post
and in the home, and single post you want to check if the post has that tag, and if so remove the comment link
<?php $key=”nocomment”; echo
i think when you search the forum you can find the answer
Forum: Fixing WordPress
In reply to: current user can / cannot<li><?php if (current_user_can('read') ) $link = '<a href="' . get_settings('siteurl') . '/wp-login.php?action=logout">' . __('Logout') . '</a>'; else $link = '<a href="' . get_settings('siteurl') . '/wp-login.php">' . __('Login') . '</a>'; echo apply_filters('loginout', $link); ?></li>this was the solution
Forum: Fixing WordPress
In reply to: Public Pages Not Show Up On Page Sidebar<?php wp_list_pages('&exclude=104&sort_column=menu_order&title_li&depth=2');?>where 104 is the pagenumer you dont want to show
Forum: Fixing WordPress
In reply to: create many wordpress pages quicklyyou can try to create a fake xml export, and import that?
Forum: Fixing WordPress
In reply to: redirect on login (not to profile or dashboard)<?php if(current_user_can('read')){ <a href="http://www.somewebsite.com/wp/wp-login.php?action=logout">logout</a></li> <?php wp_list_pages('&exclude=104&sort_column=menu_order&title_li&depth=2'); ?></li> <?php wp_list_categories('orderby=name&title_li&include=125,9&depth=2');?> </li> { } else { <a href="http://www.somewebsite.com/wp/wp-login.php">login</a> ; } ?> <?php } ?>why does this not work? any help?