Support » Theme: Magazine Basic » How do I get Magazine Basic not to show images and thumbails on frontpage?

  • Hello 🙂
    I have this important thing to do with a site: to have the homepage as clean as possible, no pictures at all. I thought I had found the answer here:
    but it’s maybe old now and I can’t find the codes that codestripper member is talking about (I imagine that they changed).
    In the ‘loop.php’ I think they’re some, and I found this hereunder in the functions.php file (I maybe understand that it’s a kind of ‘new’ “// resize function”??) :

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Would it be possible to update the previous answer?
    It’s really about no thumbnails and no pictures on homepage (even if I put the picture featured in the post -inside the post together with the text- after the <more> code it appears on the homepage!
    Thank you very much if you can explain me or give a direction to.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Sorry wasn’t knowing about the “rules”. so herewith the code with pastebin, hoping that I understood what to dooo…
    the full excerpt is here:
    and anyway this is the block/piece in “functions.php” (last version of the theme) starting with

    // image grabber function
    function pbt_resize($w,$h,$class='alignleft',$showlink=true) {
    	global $more, $post;


    hoping to hear from some member here soon
    Bestest P

    Theme Author c.bavota


    Look for line 167 in loop.php and delete this whole block:

    if(function_exists('has_post_thumbnail') && has_post_thumbnail()) {
    	echo '<a href="'.get_permalink().'">';
    	the_post_thumbnail('thumbnail', array('class' => 'alignleft'));
    	echo '</a>';
    } else {
    	echo pbt_resize(get_option('thumbnail_size_w'),get_option('thumbnail_size_h'));

    That will remove all thumbnails and images from the front page and every archive page.

    Brilliant mr Bavota, thank you VERY much, works perfectly. Oh, and I just notice also that you are the theme’s author: compliments!
    Well i’d have one more question for now if not annoying: now I’ve have a great and super clean list of posts using the option 3 in post layout, and I would like to add the category on each “title” on the home page: together with the post title and author I’d like to get the category* to show each post as:
    – title …
    – date …
    – published by …
    – IN* …
    Any advices? I tried but do not have enough knowledges about theses ‘sentences’ in the css..
    Bestest P.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I get Magazine Basic not to show images and thumbails on frontpage?’ is closed to new replies.