Agent D
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Show one specific post in the static front pageHi, thank you for your answer. It works except that the title of the post doesn’t appear. I suspect that I need to do something with the line:
<p>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></p>
If you have any suggestion I really appreciate it. Thanks!
Forum: Fixing WordPress
In reply to: How to make the site go liveWow, it worked and that was so simple! Thanks again for your help!
Forum: Fixing WordPress
In reply to: How to make the site go liveThanks! I am trying the “make it look like” method now.
AD
Forum: Fixing WordPress
In reply to: Side bar problem – displaying from old to new instead of new to oldWorked!! Thank you sooooo much!!
Forum: Fixing WordPress
In reply to: Side bar problem – displaying from old to new instead of new to oldOh, you are right. It was a plug-in (pasted below). What should I should I change?
function wp_cat_posts( $catID = 0 ) {
$catID = (int) $catID;
$posts = get_posts(array(‘category’ => $catID, ‘numberposts’ => -1, ‘order’ => ASC, ‘orderby’ => title));foreach( (array) $posts as $post ) {
echo ‘ID) . ‘”>’ . $post->post_title . ‘
‘;
}
}Thanks!
Forum: Fixing WordPress
In reply to: Custom side bar which lists posts by title namesbump, anyone?
Forum: Fixing WordPress
In reply to: Clean up category IDs?Hmm… interesting. Thanks for your suggestions. I think I’m going to just leave as it is. Many thanks. AD
Forum: Fixing WordPress
In reply to: Displaying sub-category name issue with multiple categoriesI solved it!!
<?php echo single_cat_title(); ?>
I can’t believe how simple it was. Thanks Jessn! I saw your past post ??
AD
Forum: Fixing WordPress
In reply to: Custom archive templates for specific categories?Hmm.. i see, so with archive page I can’t do that?
Forum: Fixing WordPress
In reply to: Custom archive templates for specific categories?Thanks for your reply. Yes, I did look at the page. But I was hoping to find a way to actually have multiple templates and load them in according to the category ID. I’m using the code above in “category.php” and load custom templates (such as category-1.php, category-2.php) it’s working fine. Is there anyway that you can do the same?
AD
Forum: Fixing WordPress
In reply to: Displaying sub-category name issue with multiple categoriesHmm… I still can’t figure this out. Anyone has any idea?
AD
Forum: Fixing WordPress
In reply to: Custom yearly archive links displayIt worked great, thanks!!
AD
Forum: Fixing WordPress
In reply to: How to display only child category name?Now I have another problem… If there is any post which has more than one categories assigned WordPress only displays the younger ID number’s title. For example I have one post which is in Illustration (id=5) and painting (id=8), and if you go to the page for Painting the title header is “Illustration”. Any idea how to prevent this?
Thanks!
Forum: Fixing WordPress
In reply to: How to display only child category name?Oh, never mind, the second one worked! Thanks for the suggestion!
AD
Forum: Fixing WordPress
In reply to: How to display only child category name?Thanks for the suggestion. I tried it but it displays only parent category name and not the child category name.
AD