WordPress.org

Ready to get started?Download WordPress

Forums

WpNewpaper theme (7 posts)

  1. betzy
    Member
    Posted 5 years ago #

    hello guys, yesterday ive found some interesting links with wpnespaper theme, i know its a premium theme, but the download was free ... so ive downloaded it , install it ... but here comes the hard part, i cant display images on front page and in the gallery category, that damn viva zoom plugin works only for images in post, they didn`t put ther some usage guide :( , as i saw in the demo page ... i think it use custom fileds but i can fugure wht is the right key :( so ... any body got the usage manual ??

  2. KURD BOY
    Member
    Posted 5 years ago #

    owww ...!!

    i have same problem with this theme ...

    if any help us ?????

  3. threio
    Member
    Posted 4 years ago #

    If you have the photos in the media gallery, and the main page of the magazine uses excerpts, try using Advance Excerpts plugin, for some reason it shows your thumbails in the excerpts.....

    ironically since my magazine theme is coded to show excerpts, I am trying to figure out a way to not use the plugin to show my images--lol

    my site: http://www.philliesdigest.com

  4. threio
    Member
    Posted 4 years ago #

    here is a crude but effective hack for putting thumbnails in your excerpts

    in the index.php or home.php

    just before the..... <?php the_excerpt('Read more...'); ?>

    BUT, make sure it is before </div> or so its included in the content only! you will know if you screw this up the page will balloon with the thumbnail in a crazy place

    insert this if you are using a custom field named "thumbnail"

    " title="<?php the_title(); ?>">
    <img src="<?php $values = get_post_custom_values("thumbnail"); echo $values[0]; ?>" align="left" border="1" width="150px" height="150px" padding="8px" alt="<?php the_title(); ?>" />

    there is a catch you need to go into the css stylesheet and include the thumbnail on the stylesheet or it will be aligned tightly to the text, here is an example

    #thumbnail {
    float: left;
    width: 150px;
    height: 150px;
    }

    if you are using more than 150 words in the excerpt it won't matter and will cosmetically look correct.

  5. threio
    Member
    Posted 4 years ago #

  6. threio
    Member
    Posted 4 years ago #

  7. threio
    Member
    Posted 4 years ago #

    you need a href "" <?php the_permalink()?>

    before the beginning of what is presented above, obviously I am doing something wrong here posting this piece of code

Topic Closed

This topic has been closed to new replies.

About this Topic