Angela
Forum Replies Created
-
The edit function disappeared? Anyway, I guess I will just post a new reply here. I changed the code from
<?php else : // Comments are closed ?> <p><?php _e('Sorry, the comment form is closed at this time.') ; ?></p> <?php endif; ?>
I used inline CSS and changed it to the following:
<?php else : // Comments are closed ?> <style type="text/css" media="screen"> h2 #comments, ol #commentlist { display: none; } </style> <?php /*echo "<p>" . _e('Sorry, the comment form is closed at this time.') . "</p>";*/ ?> <?php endif; ?>
Still not working, even though I do see the inline CSS show up (perhaps because it’s processed after the <h2> tags?)
I thought about that as well, but does .nocomment selector also hide the “No Comments” line?
Angela
Forum: Fixing WordPress
In reply to: Customize WP Admin BarActually, I got it figured just now. The following seems to be the answer I need. Just in case anyone is having the same problem as I am, you need separate functions to remove and add menus, each using different action hook.
function remove_admin_bar_links() { global $wp_admin_bar; $wp_admin_bar->remove_menu('wp-logo'); $wp_admin_bar->remove_menu('updates'); } add_action( 'wp_before_admin_bar_render', 'remove_admin_bar_links' ); function add_admin_bar_links() { global $wp_admin_bar; $wp_admin_bar->add_menu(array( 'parent' => 'my-account-with-avatar', 'id' => 'sup', 'title' => __('Support Center'), 'href' => "https://hosting.centilin.com/support/") ); } add_action('admin_bar_menu', 'add_admin_bar_links');
Angela
Forum: Hacks
In reply to: Can't Get Custom Field ValueAnyone with some PHP out here?
Angela
Forum: Plugins
In reply to: [World Clock Widget] [Plugin: World Clock Widget] Change WeekDay NameI found the solution, in case anyone else is wondering, the wordpress the_time function offers a parameter called ‘l’ (lowercase L) that offers weekday name in Chinese.
Angela
Help, anyone?
Any thoughts?
Well, what do you mean by the tags blog?
Angela
Nope, and I don’t see any new options when trying to write a new post either.
Angela
yes, my main site is located at https://www.centilin.com. Currently, I’ve just added a few posts from my blog site to the main site, and use them as front page titles using PHP short code. However, I’m not able to pull posts from the blog site, hence I would like to use this plugin instead.
Angela
Yes, But like I mentioned in the beginning, I don’t see any new blog posts.
Well, then, how come that I don’t see it. I mean, where should I expect to see it?
Angela
yes, I did
Forum: Plugins
In reply to: [World Clock Widget] [Plugin: World Clock Widget] Change WeekDay NameAny thoughts?
Seems to be a problem with PHPMyAdmin, it’s not letting me to write anything.