MountainTop
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Help with get_the_tagsWorked like a charm, thanks for the help Alchymth. Maybe I just typed it in wrong before.
Forum: Fixing WordPress
In reply to: Help with get_the_tagsNo longer get the error, but the tag link also no longer shows up on the posts.
Forum: Fixing WordPress
In reply to: Visual Editor Not Working, 3.3.2The first site yes, I use Dreamhost and the renamed the old file whatever.old. The new site no, I just built it.
Forum: Fixing WordPress
In reply to: _e Function for ConentThanks for explaining it to me.
I thought maybe WPML automatically translated everything, but as I read more you can, like you said, only translate static content and everything else has to be manually translated or sent through the plugin to translators.
Forum: Fixing WordPress
In reply to: Question About RedirectsI figured it out in case other people were having trouble like I was.
add_action(“admin_init”, “subscriber_redirect”);
function subscriber_redirect() {
if (!current_user_can(‘publish_posts’) && $_SERVER[‘REQUEST_URI’] != ‘/wp-admin/profile.php’) {
header(‘Location: ‘ . get_bloginfo(‘url’), 301) ;
}
}Forum: Plugins
In reply to: [Plugin: WP-DBManager] Undefined variableI turned them on since the site is in development mode. I will just ignore the notice for now. Thanks for the quick response.
Forum: Fixing WordPress
In reply to: Function Reference/wp registerThanks. I read it, but I’m slowly understanding it.
Forum: Fixing WordPress
In reply to: Function Reference/wp registerNot sure if I’m heading in the right direction or just a dunce. Probably a dunce.
<?php if ( is_user_logged_in() ) { ?>
<?php global $user_login , $current_user;
get_currentuserinfo();
echo ‘Welcome’ . $current_user;
?> } else {
wp_register();
}
?>Forum: Themes and Templates
In reply to: Still Confused On The BasicsForum: Themes and Templates
In reply to: Still Confused On The BasicsCool, thanks!