ulyssesnld
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Show only the first 3 from one catagoryhttps://www.dagondesign.com/articles/latest-post-from-each-category-plugin-for-wordpress/
works great!
only images dont apear if they are in the post.
Forum: Themes and Templates
In reply to: show rss feed in template with little imagesbut this one does nog contain any images or thumbnails..
Forum: Plugins
In reply to: extract the widget plugin code to fit in a pagecould you give me some more guide lines that i have to follow so i know how to cut it?
Forum: Plugins
In reply to: Fatal Error on of the Pluginshmmz..
i have the same prob…Old tread.. no one knows it right now ?
Forum: Plugins
In reply to: Rss Images Not Showinglol the site is indeed NSFW ;p
i just opend it at my work and i could tell that this isnt what my boss wants to see ??
i have the same prob… and am suire that i havent tuned on a hotlink pro.
any other option for this?
Forum: Themes and Templates
In reply to: Show only the first 3 from one catagorythis might be the perfect solution for me..
https://www.dagondesign.com/articles/latest-post-from-each-category-plugin-for-wordpress/
going to test it the next days..
( with the combination of Advanced Category Excluder to also make things invisible again to only show it in rows.. )
Forum: Themes and Templates
In reply to: Show only the first 3 from one catagory<?php /* Template Name: Home Page */ get_header(); ?> <div id="feature" class="pics"> <!-- feature --> <?php $catID = get_cat_id('Featured'); // Get the category ID for the Featured category used to display rotating images on homepage query_posts('cat='.$catID.''); // Retrieve the latest post from the Featured category if (have_posts()) : while (have_posts()) : the_post(); // Start the Featured loop $post_id = $post->ID; $single = true; $key = image; if ( $image_value = get_post_meta($post_id, $key, $single) ) : ?> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><img src="<?php echo $image_value; ?>" alt="<?php the_title(); ?>" /></a> <?php endif; endwhile; endif; // End the Featured loop ?> </div> <!-- feature --> <div id="columnleft"> <!-- columnleft --> <ul> <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Home Page') ) : ?> <li><h2>Widget Content!</h2> <p>This is a Widgetized section of the home page. Why not add some text about yourself and your contact details?.</p> <p>Log in then go to "Dashboard > Appearance > Widgets" and select Home Page to change what's displayed here.</p> </li> <?php endif; ?> </ul> </div> <!-- columnleft --> <div id="columnright"> <!-- columnright --> <h2>Latest Photos</h2> <ul id="latestworkgallery"> <?php $theme_options = get_option('Grace'); ?> <?php if (!isset($theme_options["autothumb"]) || $theme_options["autothumb"] == "timthumbon") { include (TEMPLATEPATH . '/includes/hpautothumbson.php'); } else if (!isset($theme_options["autothumb"]) || $theme_options["autothumb"] == "timthumboff") { include (TEMPLATEPATH . '/includes/hpautothumbsoff.php'); } ?> </ul> <div class="clearall"> </div> <p class="morebutton"><a href="<?php echo get_option('home'); ?>/gallery" title="<?php bloginfo('name'); ?> - Gallery" class="button"> </a></p> </div> <!-- columnright --> <!-- eigen toevoeging --> <div id="columnright"> <!-- columnright --> <h2>Projects blabla</h2> <?php query_posts('showposts=4&cat=3'); ?> <ul> <?php while (have_posts()) : the_post(); ?> <span class="home-links"> <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> <?php the_excerpt(); ?></li> </span> <?php endwhile;?> <div class="clearall"> </div> <p class="morebutton"><a href="<?php echo get_option('home'); ?>/Project" title="<?php bloginfo('name'); ?> - Gallery" class="button"> </a></p> <br /> <h2>Flickr</h2> <!-- Start of Flickr Badge --> <style type="text/css"> #flickr_badge_source_txt {padding:0; font: 11px Arial, Helvetica, Sans serif; color:#666666;} #flickr_badge_icon {display:block !important; margin:0 !important; border: 1px solid rgb(0, 0, 0) !important;} #flickr_icon_td {padding:0 5px 0 0 !important;} .flickr_badge_image {text-align:center !important;} .flickr_badge_image img {border: 1px solid black !important;} #flickr_www {display:block; text-align:left; padding:0 10px 0 10px !important; font: 11px Arial, Helvetica, Sans serif !important; color:#3993ff !important;} #flickr_badge_uber_wrapper a:hover, #flickr_badge_uber_wrapper a:link, #flickr_badge_uber_wrapper a:active, #flickr_badge_uber_wrapper a:visited {text-decoration:none !important; background:inherit !important;color:#3993ff;} #flickr_badge_wrapper {} #flickr_badge_source {padding:0 !important; font: 11px Arial, Helvetica, Sans serif !important; color:#666666 !important;} </style> <tr><td><table cellpadding="0" cellspacing="10" border="0" id="flickr_badge_wrapper"> <tr> <script type="text/javascript" src="https://www.flickr.com/badge_code_v2.gne?show_name=1&count=5&display=latest&size=t&layout=h&source=user&user=29523638%40N06"></script> <td id="flickr_badge_source" valign="center" align="center"> <table cellpadding="0" cellspacing="0" border="0"><tr> <td width="10" id="flickr_icon_td"><a href="https://www.flickr.com/photos/29523638@N06/"><img id="flickr_badge_icon" alt="ulyssesnld's items" src="https://farm4.static.flickr.com/3134/buddyicons/[email protected]?1218615634#29523638@N06" align="left" width="48" height="48"></a></td> <td id="flickr_badge_source_txt"><nobr>Go to</nobr> <a href="https://www.flickr.com/photos/29523638@N06/">photostream</a></td> </tr></table> </td> </tr> </table> </td></tr></table> <!-- End of Flickr Badge --> </div> <!-- columnright --> <!-- eigen toevoeging einde --> <p class="clearall"> </p> </div> <!-- content --> <?php get_footer(); ?>
Where do i have to add the code if if i want to show only cat 4 under “projects” and exclude the others..
Forum: Themes and Templates
In reply to: Show only the first 3 from one catagorycan you make a piece of example code ?
how i can exclude all the cats exept the ones i want.
i tryed but its quite difficult..
Forum: Themes and Templates
In reply to: Show only the first 3 from one catagoryWhy cant i do this in Homepage.php ?
I found out that i can add lots of info over there (homepage.php is my front page)
Forum: Themes and Templates
In reply to: adding an preview of an other pagefixed the site , was not displaying right because of an plugin..
Forum: Themes and Templates
In reply to: adding an preview of an other pagehmmz..
i tryed it on the webpage ( https://www.the3theye.com ) but it didnt quite workout(you can see the result)..
Also u see that u can not post something under an page so i have to stick to catagories..
Is is also posible that he shows up the last 3 posts from the catagorie “project” (example)
And to hide all the posts by default? ( if you click on the title projects you will see them all.. )