ronchicago
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Category management or a different way to organize items1) below: this looks great. the only problem is it lists ALL the tags and can’t figure out how to only call out john doe.
<p class="tagged"><strong>Actor:</strong> <?php the_tags(' · ') ?></p>2) below: “john-doe” is now in the tag description and again, same result, all the tags and no “john-doe”. am i writing this wrong?
<p class="tagged"><strong>Actor:</strong> <?php tag_description('john-doe') ?></p><p class="tagged"><strong>Actor:</strong> <?php the_tags(' · ') ?> <?php tag_description('john-doe') ?></p>3) i am wrong, there doesn’t seem to be exclude / parent_of etc., conditionals in tags as there are in categories. i suppose all tags could be removed except those of the actor / producer for their specific movie post. right ? will this effect searches ?
Forum: Fixing WordPress
In reply to: Category management or a different way to organize itemsnot meant as a bump but here is what i am hoping to do in this first task…
at the end of my post the titles “actor” and “producer” will be in place as they are now in the template. when i add john doe as a tag in admin his name will appear after the actor title. his name will also link to the actor’s personal page.
Forum: Fixing WordPress
In reply to: Category management or a different way to organize itemsnote: sorry, first time writing as opposed to copy/paste and will get the hang of it.
how to write following code with the following conditions.
1) actor tag = john doe
2) actor ID = 2304
3) css = <p class=”tagged”>wish to look like this = Actor: john doe
attempted this…
<p class="tagged"><?php $posttags = get_the_tags()?> <?php echo 'Actor: ' . tag_description('2304'); ?></p>all we see = Actor:
Forum: Fixing WordPress
In reply to: Category management or a different way to organize itemsfound the above hierarchy info. also i found a lot of tag info on codex and at first/second/third glance it appears in a perfect world all one has to do is substitute category calls for tags = same options. that tags behave differently than categories but can be designed to look the same and provide a great degree of control on where they point. right ? however, doing so will eliminate the huge category list.
the big concern has been my tags are longish search phrases that i don’t want to be visible to junk up the layout. but it seems there are options to make certain ones visible, i.e., designer and producer in this case. right ?
yes, it appears that i am talking to myself but looking for confirmation / clarification. in the meantime, going to start and see where it goes.
Forum: Fixing WordPress
In reply to: Static Home Page to Include Latest Postmaybe the top code may be enough for your needs for your recent posts. if you can just paste that in your static template and see what happens. i think you will see your recent posts but it probably won’t look right.
do you know how to give a div a class name and write the corresponding css to make it fit your theme ?
Forum: Fixing WordPress
In reply to: Category management or a different way to organize itemsi wish i recorded the link to the wordpress hierarchy. moderator michael h pointed it out today and i can’t find it. looking for something so i can better understand how tags work.
simple tags not what i was hoping for.
Forum: Fixing WordPress
In reply to: Static Home Page to Include Latest Posti’ve never placed php in the admin and don’t know if you even can. this is done on server via cpanel or whatever server admin tool your isp has set up for you. and i only show you the syntax and methodology on how to achieve your request.
the code is put in the template of your static page within the <div>s you have. the needed functions and calls for files is in the above code but your personal files and category ID’s have to be substituted. then you probably need custom css to further position it.
i am sorry i can’t help you further. i can read the php but not good enough to write this particular request.
Forum: Fixing WordPress
In reply to: Category management or a different way to organize itemsdarn, getting pretty good with categories π i’ve been rereading this thread on tags, alpha indexing, etc. it’s really over my head and am not sure if this thread is relevant =
http://wordpress.org/support/topic/346157?replies=67
that said, for the test one of the directors has been added to the tags on three movies. no surprise, each movie has several tags, now i’ve added the talent. one thing, no tag links are visible on any of my pages except as underlines within the post narrative. so i’m wondering how to display the talent and not the other tags. and down the road it would be nice to have an alpha directory for each, the actor / director.
i’ve just downloaded simple tags and exploring.
Forum: Fixing WordPress
In reply to: Static Home Page to Include Latest Postone of my sites lists several topics and within each topic are five most recent posts. i won’t be of much help as i did not personally write it. it is valid.
here is the call for recent posts…
<div class="main_block_rightcenter"> <h1 class="recent_heads">Recent posts.</h1> <?php $querystr =" SELECT DISTINCT $wpdb->posts.* FROM $wpdb->posts WHERE $wpdb->posts.post_status = 'publish' AND $wpdb->posts.post_type = 'post' ORDER BY $wpdb->posts.post_date DESC LIMIT 10"; $pageposts = $wpdb->get_results($querystr, OBJECT); if ($pageposts) : foreach ( $pageposts as $post ) : ?> <p class="recentpost"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></p> <?php endforeach; else : echo ' '; endif; ?> </div> <!--end rightcenter-->here is what the “news” topic looks like…
<div class="category"> <div class="category_img"><img src="home/resources/cat6.jpg" alt="News" /></div> <div class="category_info"><a href="http://www.domain.com/category/news" title="News">News</a></div> <div class="category_latest"> <?php global $post; $myposts = get_posts('numberposts=4&category=21'); foreach($myposts as $post) : setup_postdata($post); ?> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> <?php endforeach; ?> </div> </div> <!--end category-->the code made the static page an rss page.
Forum: Fixing WordPress
In reply to: How to make the parent invisible ?childof_ works for most of the categories…
but i still have to exclude a significant # from this <div> as i have over 122 categories and counting….
<?php wp_list_categories('title_li=&childof=150, 208, 209, 153, 210&exclude=3, 24, 25, 26, 33, 82, 103, 144, 372, 406, 443, 626, 2263'); ?>the parent of 150,208,153,210 is still visible. the children of 150, etc., which is over 85 categories, is listed, so the code is a lot less, thank you.
Forum: Fixing WordPress
In reply to: How to make the parent invisible ?note: the above code is tedious in that every time i add a category i have to exclude it. is there an easier way to call only the ones i want? i have this code on another page…
<?php $catarray = array(213, 214, 215); foreach($catarray as $cat) {then some call i think…
Forum: Fixing WordPress
In reply to: How to make the parent invisible ?here is a snippet. note: “Objects >” ID = 148 …
<div class="column span-7 colborder"> <a name="main"></a> <h2>Browse the Objects...</h2> <h3>by function:</h3> <ul class="sidenav"> <?php wp_list_categories('title_li=&exclude=3,4,23,27,32,33,82,103,144,147,372,23,365,24,25,26,104,406,443,626, 2263, 2273, 2277, 2288, 2289, 2290, 2291, 2292, 2293, 2294, 2295, 2296, 2297'); ?> <!-- 3/9/2010 --> </ul> </div>Forum: Fixing WordPress
In reply to: How to make the parent invisible ?under “function” = would like to remove “objects”
under “talent” = would like to remove “talent”Forum: Themes and Templates
In reply to: Image alignment dilemmawent to span-9 and changed width to 50% which fixes the layout. will fine-tune a bit later in development. thank you.
Forum: Themes and Templates
In reply to: Image alignment dilemmathe above div sits in this div…
<div class="column column span-20 colborder">the css for the div laying out correctly…
/* BEGIN object category */ .entry-cat { float: left; width: 19%; /* was 25% 12/18/08 */ padding: 15px; height:230px;a link to span-20… http://objects.designapplause.com/category/objects-tile/home-tile/home-furniture/
a link to problem span-8… http://objects.designapplause.com/test-1/