Aen
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Customizing date displayWorks great! Thanks Michael!
Forum: Fixing WordPress
In reply to: Custom fields not showing in page templateWorks for me thanks!
Forum: Fixing WordPress
In reply to: Custom fields not showing in page templatehttps://wordpress.pastebin.ca/1691795
Here it is.
Forum: Fixing WordPress
In reply to: How can I prevent site from being indexed until I get site ready?Echoing blondishnet, the setting is under “Privacy”, no need for plugins.
Forum: Fixing WordPress
In reply to: Why I cannot preview my custom fields that has a image link?Not sure if I understood correctly, after you click “Update” after editing a custom field, you still still to publish/update post for it to be saved.
Forum: Fixing WordPress
In reply to: Need help, tricky displaying of categories and postsManaged to get it working with
<?php // Restrict posts to current category and not its children $cat_id = get_query_var('cat'); $child_cats = (array) get_term_children($cat_id, 'category'); query_posts(array( 'cat' => $cat_id, 'category__not_in' => $child_cats )); if (have_posts()) : while (have_posts()) : the_post(); ?> // Display post title, content, etc <?php endwhile; endif; ?>
for displaying non child-category posts.
Forum: Plugins
In reply to: [Plugin: Category Meta plugin] Working with 2.8.4?Ok works for me now, $key cannot have spaces in it. Remember to echo.
Forum: Plugins
In reply to: [Plugin: Category Meta plugin] Working with 2.8.4?Doesn’t work for me, I added custom fields but when I check the database, the table is empty. Saving doesn’t work.
Forum: Plugins
In reply to: [Plugin: Category Meta plugin] Works well with 2.7.1Doesn’t work for me, the custom fields does not get saved to the database.
Forum: Plugins
In reply to: Lester Chan’s WordPress Plugins December 2008 Update For WordPress 2.7Hey never mind. The plugin failed to activate because of some reason and I thought it did. It’s working now.
Forum: Plugins
In reply to: Lester Chan’s WordPress Plugins December 2008 Update For WordPress 2.7Oops sorry got mixed up. The one I’m using uses some code in functions.php to get the relative date but it doesn’t support timezone offset and hacking it is too confusing for me. So I’m switching to your plugin.
I’m using comment_date() and after activating your plugin it, and posting a comment. It doesn’t show a relative date.
Forum: Plugins
In reply to: Lester Chan’s WordPress Plugins December 2008 Update For WordPress 2.7Hi,
Does your relative date plugin take into consideration time zones? I’m using the plugin on my blog but the times shown are not accurate. For example one of the post was posted more than a day ago (about 39 hours ago) but the plugin says it’s 22 hours ago.
To see what I mean go to https://aenui.com/ rollover the dates to see the actual time and date into the tooltip (title attribute).
The code I’m using is…
<?php echo how_long_ago(get_the_time(‘U’)); ?> and <?php echo how_long_ago(get_comment_time(‘U’)); ?>
Thanks for the help!
Forum: Plugins
In reply to: This is great except…Alright I figured it out.
Forum: Plugins
In reply to: This is great except…I don’t know why I can’t commit the image folder to the 1.3 tag. Can anyone help?
Forum: Fixing WordPress
In reply to: WordPress changing .htaccess when saving a pageSeems like a server issue. Dreamhost couldn’t see anythinh wrong it and then it fixed itself.