Support » Theme: Minimatica » Remove folded banner in Minimatica

  • I have been searching the web for several days, trying to discover the easiest way to delete the black fold over banner that appears on a post thumbnail in the Minimatica blog.

    There are discussions about this issue on the Internet, but no real solution and/or the threads are dead.

    I’d truly appreciate help. Thanks so much!

    http://wordpress.org/extend/themes/minimatica/

Viewing 15 replies - 61 through 75 (of 180 total)
  • deepbevel

    (@deepbevel)

    actually, hang on, it has to do with where I close the foreach with this tag:

    <?php }?>

    I’ll get it..

    deepbevel

    (@deepbevel)

    maybe not..
    I think we’re better off calling specific posts in the home slider, I’ll try later.

    Juliefitz

    (@juliefitz)

    Hey,

    I think i get it so far, lol. I am dealing with the tax man but will get up to speed with you later today. Then we will find out if I really get it.

    Juliefitz

    (@juliefitz)

    Right I think I am up to date….

    I assumed that we were starting with the loop-slider.php in its original state.

    I have created and uploaded the loop-slider-catagories.php and made the modifications you suggested to the loop-slider.php and the catagory.php

    I have not yet made the final modification (the one you said put all the images in a vertial position) as I think you are still exploring this, but let me know if you want me to try it.

    Current situaton;

    On opening the site, the slider is there with the arrow to the right leading to the other sliders.

    When you select an post on the slider (any of them) it re-opens the slider, but now with no arrow to the right.

    If you select a post now, it opens the post itself.

    If instead of selecting the first slider, you navigate to the next slider using the arrow to the right; the same happens, you press the slider once and the slider appears again, then each slider you select leads to the relevent post.

    Hopfully this is what you were expecting to be the case.

    deepbevel

    (@deepbevel)

    How many posts per page do you have in wp settings?
    if you have created 4 posts, and your blog setting is for 4 posts per page, you should see 4 posst in the slider. If there’s more than 4, you’ll get the nav arrow.
    Theee’a also a posts per page argument in the loop.slider query, it is 4 by default.
    But we shall work on that later, next for the home slider (we named it loop-slider-categories) I’m going to make a query with specific posts, they will be caled by their ID#, and link to what ever we like, and we’re linking them to their categories.

    deepbevel

    (@deepbevel)

    In in loop-slider.php, Remove the code I postsed above which get links as categories and replace with the default permalink code:

    <a class="overlay" href="<?php the_permalink(); ?>" rel="bookmark"></a>

    add this to the end of the array

    'post__in' => array(625,1072)

    add the post id’s you want to call in the slider, but you’ll want to call 4 posts for it to look right.

    loop-slider-categories.php is still used by the categories.php template, and still functions as the default loop slider (with posts queried by category and linked to the content like normal), for all instances of the slider except the homepage.

    deepbevel

    (@deepbevel)

    -you can add as many post id’s as you want, just use commas between..
    I’m not sure how this effects posts per page at this point.. probably still in effect.

    Juliefitz

    (@juliefitz)

    I am happy with 4 posts per slider so no need to work on that.

    deepbevel

    (@deepbevel)

    okay, just list their id’s in the array, it should work..

    deepbevel

    (@deepbevel)

    oops, i goofed. We still need the home slider posts to link to categories. I’m confusing the two templates..

    Juliefitz

    (@juliefitz)

    I am a bit confused.

    I have replaced the code.

    What is an array? Does this mean put it at the bottom of the code?

    List their id’s in the array (not a clue)

    Juliefitz

    (@juliefitz)

    Should I put the code back in that I just took out?

    deepbevel

    (@deepbevel)

    so we still need:

    <a class="overlay" href="
    
    <?php
    $the_cat = get_the_category();
    $category_name = $the_cat[0]->cat_name;
    $category_link = get_category_link( $the_cat[0]->cat_ID );
    ?>
    <?php echo $category_link ?>" title="<?php echo $category_name ?>"><?php echo $category_name ?>
    "
    </a>

    in loop-slider.php, and loop-slider-categories.php has the defualt permalink code. I think. haha

    deepbevel

    (@deepbevel)

    the array is list of arguments in the query,
    so it will look like this:

    <?php	 		global $wp_query, $query_string;
    	$paged = get_query_var( 'paged' );
    	$args = array(
    		 'post__in' => array(625,1072)
    		'paged' => $paged,
    		'ignore_sticky_posts' => 0
    
    );
    	$args = wp_parse_args( $args, $wp_query->query );
    ?>

    deepbevel

    (@deepbevel)

    these last two codes both modify loop-slider.php, otherwise we still have loop-slider-categories.php with default code for the theme, and used by categories.php.

Viewing 15 replies - 61 through 75 (of 180 total)
  • The topic ‘Remove folded banner in Minimatica’ is closed to new replies.