Johnny Bravo
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: first post published from android app, problem with text in headerGot it! Thanks a bunch, bit of a panic-mode there but such is life. Appreciated!
ur a genius! that worked fine! how can i make sure that all future thumbnails/featured images are auto-resized to my thumbnail settings in Media> Settings>??
Thnaks, nearly there!
‘gallery-thumbnail’ – does this have to match anywhere else in my templates like functions.php?
the thumbnails i am looking at are my blog posts in chronological view, this page:
https://www.artbyherbie.com/latest-articles/page/2/
my index.php:
<?php /** * @package WordPress * @subpackage Default_Theme */ get_header(); ?> <div id="content" class="narrowcolumn" role="main"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> <div class="post_date"> <span class="day"><?php the_time('d') ?></span><br /> <span class="month"><?php the_time('M') ?></span><br /> <span class="year"><?php the_time('Y') ?></span> </div> <div class="post_content"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <div class="comm"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div> <div class="entry"> <?php the_post_thumbnail('gallery-thumbnail') ?><?php the_excerpt('Read the rest of this entry »'); ?> </div> <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> </p> <div class="read_more"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">read more</a></div> </div> </div> <?php endwhile; ?> <?php if(function_exists('wp_pagenavi')) { ?> <div class="new_pagination"> <?php wp_pagenavi(); ?> </div> <?php } else { ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> </div> <?php } ?> <?php else : ?> <h2 class="center">Not Found</h2> <p class="center">Sorry, but you are looking for something that isn't here.</p> <?php get_search_form(); ?> <?php endif; ?> </div> <?php include ( "sidebar2.php" ) ; ?> <?php get_sidebar(); ?> <?php get_footer(); ?>
graphical_force, i just want to undo what i just did with RT plugin and start to tackle again why my featured images were not res-zing anymore, this plugin just made it a lot worse by making all the previous thumbnails full size too.
my functions.php:
add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 150, 100, false );
Forum: Fixing WordPress
In reply to: first post published from android app, problem with text in headermustve been a glitch, it was defo there first 10 mins of post being published, oh well, onwards… thanks all!
Forum: Fixing WordPress
In reply to: first post published from android app, problem with text in headeraaaah, thanks esmi, didn’t notice the dedicated forum for android. i’ve just refreshed and everything seems fine now. can you confirm this, thanks? (i’m using chrome)
Forum: Plugins
In reply to: [Job Manager] THIS PLUGIN IS DEAD! What can we use insted of this?i’ve also just recently started using JM and i have come to a dead-end where i need a simple site-wide search widget in the sidebar which allows the user to search for posted jobs according to keyword, location and/or industry/category – it seems something so basic is missing as the plugin provides 4 widgets, but not a search widget?
are there any jobs plugins with this functionality?
i’ve decided to ditch JM simply because of this so i’m also on the hunt for an alternative
Forum: Fixing WordPress
In reply to: Dropdown menu not dropping down to show child pageswpyogi, yes you’re right, i went ahead and made the child theme, and updated my parent theme, it seems a css padding/margin edit i did earlier in the parent theme, to lessen the white space between the featured content and footer was causing the mis-alignment on the drop-down
everything ok now, thanks
Forum: Fixing WordPress
In reply to: Dropdown menu not dropping down to show child pagesthe dropdown menu appears too tight underneath the main menu parent page button ‘Accident Claim Types’ which makes the text in the button ‘bold’ when i hover over the child pages, i have tweaked the above css by adding top: 25px; which DOES remedy this but then the child pages dont appear smoothly and the hover effect doesn’t work
can any css experts see where i’m going wrong, it’s literally a couple of pixels worth of editing
Forum: Fixing WordPress
In reply to: Dropdown menu not dropping down to show child pagesi use the same in chrome and firebug in firefox but styling this dropdown to appear the same as the main menu items is a bit too advanced for my css skills, i can see where i need to edit the css but i’m not very confident as to which classes need changing
#menu li a { margin:0; margin-left:10px; padding-left:8px; padding-right:18px; padding-top:4px; padding-bottom:5px; position:relative; float:left; color:#666; font-family:Arial, Helvetica, sans-serif; text-align:center; text-decoration:none; font-size:12px; background:url('images/nav.png') no-repeat 99% -4px; text-shadow: 0 1px 0 #ffffff; } #menu li.current-menu-item a, #menu li.current-menu-parent a, #menu li.current_page_parent a, #menu li a.selected, #menu li a:hover, #menu li.current_page_item a { margin:0; margin-left:10px; padding-left:8px; padding-right:18px; padding-top:4px; padding-bottom:5px; color:#FFF; text-shadow: none; } #menu .ddsmoothmenu { margin:0; padding:0; list-style:none; float:right; position:relative; z-index:10000; margin-top:8px;/* margin-left:60px;*/ margin-left:30px; margin-top:10px; } #menu .ddsmoothmenu li > ul { background: url("images/submenu-down.png") no-repeat; background-position: -2px 100%; border-right:1px solid #CCC; border-top:1px solid #CCC; border-bottom:1px solid #CCC;
i’m not using a child theme yet, im wanting to create that once the functionality of the site is complete and i’m onto adding the content
thanks
Forum: Fixing WordPress
In reply to: Dropdown menu not dropping down to show child pagesthat works better, but can i get the sub-menu pages to appear the same as the main menu items, shape and hover effect? thanks
Forum: Fixing WordPress
In reply to: Dropdown menu not dropping down to show child pagesive definately added it lol, in style.css – refresh?