andreassaag
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Make archives font in sidebar smallerthat shouldn’t be too hard should it? ?? teach me!
Forum: Themes and Templates
In reply to: Making facebook share look rightsurely someone must have something to say about this
ok nevermind this was so easy even i could figure it out… ?? but for the n00b record:
.noshow {visibility:hidden; font-size: 0.01% }
is now in my style.css
WOW that’s awesome! ?? thanks a lot bro!
I seems like the tags do take up space this way even if not visible. watch after the first post between “share on facebook” and “posted in”https://worldofdeepness.com/wod/
I’m thinking there should be a way to add a tiny, tiny font size for this new noshow-class of mine. Please teach me ??
Forum: Themes and Templates
In reply to: n00b of the day: i wanna move down “posted in” one lineAnd that, my friend, is why i love you!
Forum: Themes and Templates
In reply to: n00b of the day: i wanna move down “posted in” one linehttps://worldofdeepness.com/wod/
i wanna make one line of spacy air between the “share on facebook” and “posted in…” lines in every post.
aha so this means that if i hide tags on all the pages then they’re useless anyway?
would there be any way at all to hide your tags entirely and still have lots of hits because of them?
Forum: Themes and Templates
In reply to: Link colors in sidebar and bottom of postsI resolved how to do it in the sidebar but not how to do different colors in the different sections of th sidebar. Furthermore i’d really like to make the link font size in “archives” (also sidebar) to be much smaller than the links in “Pages” and “Links”.
Forum: Themes and Templates
In reply to: problem trying to hide a category in the sidebarFINALLY! Super thanks!
Yes the sidebar code was bypassed because i had dragged widgets int sidebar in “wp-admin/appearance/widgets”. Once i dragged all of them to “inactive” at the bottom in widgets the code in sidebar.php was “working” again.
Forum: Themes and Templates
In reply to: problem trying to hide a category in the sidebari tried some more with this and i’m beginning to think maybe im using the code wrong or perhaps that i’ve hidden the category from the main page has something to do with this. Where are you pros when i need you? I know you’re out there ??
Forum: Themes and Templates
In reply to: problem trying to hide a category in the sidebarok so i checked around a little bit more. seems i have 3 sub directories in my themes folder. One called classic, one called default and one called default dk (my language). Default dk is where the action is, that’s where all the files i have modified reside. However, sidebar.php and style.css in “classic” where both modified the same date as the install. As was the style.css in “default”. the sidebar code in “classic” is a little bit shorter:
<?php /** * @package WordPress * @subpackage Classic_Theme */ ?> <!-- begin sidebar --> <div id="menu"> <ul> <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> <?php wp_list_pages('title_li=' . __('Pages:')); ?> <?php wp_list_bookmarks('title_after=&title_before='); ?> <?php wp_list_categories('title_li=' . __('Categories:')); ?> <li id="search"> <label for="s"><?php _e('Search:'); ?></label> <form id="searchform" method="get" action="<?php bloginfo('home'); ?>"> <div> <input type="text" name="s" id="s" size="15" /><br /> <input type="submit" value="<?php esc_attr_e('Search'); ?>" /> </div> </form> </li> <li id="archives"><?php _e('Archives:'); ?> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> </li> <li id="meta"><?php _e('Meta:'); ?> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li> <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li> <li><a href="https://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li> <li><a href="https://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li> <li><a href="https://www.ads-software.com/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>"><abbr title="WordPress">WP</abbr></a></li> <?php wp_meta(); ?> </ul> </li> <?php endif; ?> </ul> </div> <!-- end sidebar -->
Now what i did is i tried replacing
<?php wp_list_categories('show_count=1&title_li=<h2>' . __('Categories', 'kubrick') . '</h2>'); ?>
with<?php wp_list_categories('orderby=name&show_count=1&exclude=7'); ?>
in all three sidebar.php
still nothing…. i think i migh go crazy over this ??
any help mucho appreciated
Forum: Themes and Templates
In reply to: problem trying to hide a category in the sidebarWell if i cut the entire code in the document the sidebar disappears so it should be the right file. Maybe i somehow made a new sidebar and it’s referring to another file even though the code is still there? Anyway here’s the code for my entire sidebar.php
<div id="sidebar"> <ul> <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> <li> <?php include (TEMPLATEPATH . '/searchform.php'); ?> </li> <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it. <li><h2><?php _e('Author', 'kubrick'); ?></h2> <p>A little something about you, the author. Nothing lengthy, just an overview.</p> </li> --> <?php if ( is_404() || is_category() || is_day() || is_month() || is_year() || is_search() || is_paged() ) { ?> <li> <?php /* If this is a 404 page */ if (is_404()) { ?> <?php /* If this is a category archive */ } elseif (is_category()) { ?> <p><?php printf(__('You are currently browsing the archives for the %s category.', 'kubrick'), single_cat_title('', false)); ?></p> <?php /* If this is a yearly archive */ } elseif (is_day()) { ?> <p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives for the day %3$s.', 'kubrick'), get_bloginfo('url'), get_bloginfo('name'), get_the_time(__('l, F jS, Y', 'kubrick'))); ?></p> <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> <p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives for %3$s.', 'kubrick'), get_bloginfo('url'), get_bloginfo('name'), get_the_time(__('F, Y', 'kubrick'))); ?></p> <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives for the year %3$s.', 'kubrick'), get_bloginfo('url'), get_bloginfo('name'), get_the_time('Y')); ?></p> <?php /* If this is a monthly archive */ } elseif (is_search()) { ?> <p><?php printf(__('You have searched the <a href="%1$s/">%2$s</a> blog archives for <strong>‘%3$s’</strong>. If you are unable to find anything in these search results, you can try one of these links.', 'kubrick'), get_bloginfo('url'), get_bloginfo('name'), wp_specialchars(get_search_query(), true)); ?></p> <?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives.', 'kubrick'), get_bloginfo('url'), get_bloginfo('name')); ?></p> <?php } ?> </li> <?php }?> <?php wp_list_pages('title_li=<h2>' . __('Pages', 'kubrick') . '</h2>' ); ?> <li><h2><?php _e('Archives', 'kubrick'); ?></h2> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> </li> <?php wp_list_categories('show_count=1&title_li=<h2>' . __('Categories', 'kubrick') . '</h2>'); ?> <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?> <?php wp_list_bookmarks(); ?> <li><h2><?php _e('Meta', 'kubrick'); ?></h2> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <li><a href="https://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional', 'kubrick'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>', 'kubrick'); ?></a></li> <li><a href="https://gmpg.org/xfn/"><abbr title="<?php _e('XHTML Friends Network', 'kubrick'); ?>"><?php _e('XFN', 'kubrick'); ?></abbr></a></li> <li><a href="https://www.ads-software.com/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.', 'kubrick'); ?>">WordPress</a></li> <?php wp_meta(); ?> </ul> </li> <?php } ?> <?php endif; ?> </ul> </div>