stemie
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [The Bootstrap] Change the read more tag in child themeThanks jmjf for your help.
I will try some of your suggestions.Forum: Themes and Templates
In reply to: [The Bootstrap] Change the read more tag in child themeSorry but I’m still stuck 🙁
Probably doing something really silly…
I cant seem to get it to show my custom more tag?function remove_excerpt_more_link() { remove_filter( 'get_the_excerpt', 'the_bootstrap_custom_excerpt_more' ); remove_filter( 'excerpt_more', 'the_bootstrap_auto_excerpt_more' ); } add_action( 'after_setup_theme', 'remove_excerpt_more_link' ); function spost_continue_reading_link() { return ' <a href="'. esc_url( get_permalink() ) . '">' . __( 'More <span class="meta-nav">→</span>', 'the-bootstrap' ) . '</a>'; } add_filter( 'the_bootstrap_continue_reading_link', 'spost_continue_reading_link' );Forum: Plugins
In reply to: [WP eCommerce] Cannot see the address for orders made on dashboardHi, thanks for the reply.
I cant see anything relating to Sales Log.
All I have is Sales Summary, Sales by Month, Sales by Quarter and Get Shopped News. Seems a bit strange. I also deactivated all other plugins and I still cant see anything.
Any other places it could be?
Like I say I can look in the database but thats a bit of a mission.Might have to rebuilt the site and try out woo commerce.
Im not sure I understand.
I made a mess of it by trying it this way without duplicating the loop.
<div class="row"> <div class="span2 hidden-phone"> <div class="row visible-phone"> <div class="span4"> <?php $args = array( ); $postslist = get_posts( $args ); foreach ($postslist as $post) : setup_postdata($post); ?> <div class="span2"> //stuff </div> <?php endforeach; ?> </div><!-- .span4 --> </div><!-- .row visible-phone --> </div><!-- .span2 hidden-phone-->Ok thanks, I am using a child theme.
In my child css I added:
@media (max-width: 480px) { .span2 {width:50%;float:left;} }To get the two columns I’ve ended up running a loop twice though but that seems like a waste of resources? Is there anyway it can load the loop once depending on if .visible-phone or .hidden-phone is being shown?
<div class="span2 hidden-phone"> <?php $args = array( ); $postslist = get_posts( $args ); foreach ($postslist as $post) : setup_postdata($post); ?> // stuff <?php endforeach; ?> </div><!-- .span2 hidden-phone--> <div class="row visible-phone"> <div class="span4"> <?php $args = array( ); $postslist = get_posts( $args ); foreach ($postslist as $post) : setup_postdata($post); ?> <div class="span2"> //stuff </div> <?php endforeach; ?> </div><!-- .span4 --> </div><!-- .row visible-phone -->Ok thanks, dont really want to overwrite any core.
Forum: Themes and Templates
In reply to: Sidebar widget title colors using post classThanks the code works 🙂
Is there a way to set it so that it gets all the children of the parent category?
So I only need to set the colours for the parent categories in css. I triedin_category()I appreciate you help.
Ok I solved it.
I put the span4 inside the content loop so each post get wrapped in span4 div class and it creates two columns
get_template_part( '/partials/content-archives', get_post_format() );Yea sorry I noticed that after I sent the message.
I cannot get it to work in the loop though.The below code is sitting in the .span8 class so there should be enough space to fit in two columns but it only shows one column.
<div class="row"> <div class="span4"> <?php while ( have_posts() ) { the_post(); get_template_part( '/partials/content-archives', get_post_format() ); } the_bootstrap_content_nav(); else : get_template_part( '/partials/content', 'not-found' ); endif; tha_content_bottom(); ?> </div><!-- .span4 --> </div><!-- .row -->I guess I have to create and new instance of .span4 for each post that appears in the loop? If so any idea how would I do that?
Forum: Plugins
In reply to: Quick Page/Post Redirect Plugin – read more tag doesnt open in new windowThanks Don that seems to have done the trick 🙂
Forum: Plugins
In reply to: Quick Page/Post Redirect Plugin – read more tag doesnt open in new windowYes it is still and issue for me.
Its just the read more tags that wont open in a new window. The other links work.Thanks Don
Thanks guys that works 🙂
post_thumbnail_sizesaves me some time.
Much appreciated, thank you Konstantin and twitter for a great theme!Cool no worries.
Could be the plugin but the widget only disappears when I make a child theme for the-bootstrap even if it has no modifications done to it, the most basic child theme.
Thanks for replying anyway.
Its actually a custom plugin (a jquery calendar).
The child theme does add a sidebar but I also tried it by removing that code unfortunately the problem persists.
I also tried the child theme with no functions.php file, still no widget.
The widget appears with a blank twentyelven child theme.
Thanks
These filters http://yoast.com/wordpress/seo/api-docs/#filters yoast has included might help you out.
I see it is a bit annoying for some people, Im sure he’ll make it more clear in future updates.
In your functions.php the below code should get rid of those annoying (for some people) columns.
add_filter( 'wpseo_use_page_analysis', '__return_false' );