Forums

Anyone using the Wynton Magazine theme? (9 posts)

  1. erinhausen
    Member
    Posted 3 years ago #

    I'm trying to use the Wynton Magazine theme on my site, and I'm having a hellish time trying to make the custom image fields to work. Anyone have any suggestions or tips? I've been reading some other forum posts and am kind of wondering if it has to do with bugs in WP 2.6.1?

  2. jessn
    Member
    Posted 3 years ago #

    I've used it and don't remember having a problem. Make sure you're using the exact uppercase/lowercase letters.

  3. erinhausen
    Member
    Posted 3 years ago #

    I am definitely using the right key names and uppercase/lowercase letter instances. I'm totally stumped.

  4. omgitztrey
    Member
    Posted 3 years ago #

    have you considered using the viva image plugin? It basically removes the need to add custom fields.

    It builds thumbnail images for the sidebar and magazine style themes by using the first image uploaded on the post and resizing that based on your specifications.

  5. erinhausen
    Member
    Posted 3 years ago #

    Wow, this sounds fantastic. Where can I get the viva image plugin?

  6. erinhausen
    Member
    Posted 3 years ago #

    Ah, just found it.

    One more question though - does it work with WordPress 2.6?

  7. FunnyMagazines
    Member
    Posted 3 years ago #

    How to Build Magazines Website by WordPress

    I have spent about a week to build up my new magazine website, from nothing to nothing to abundance. I take it as my child and believe it will grow up in the future, become more and more popular. Here I spend some time to write what I’ve done and what I thought, to those people who want to build up his/her magazine websites. Hope these text and pictures may help them in the future.http://www.funny-magazines.com

    1. Topic and Content
    2. Domain name and website space.
    3. Theme select & configure
    4. Adv setting
    5. Promotion

    Permalinks of full article: http://www.funny-magazines.com/how-to-build-magazines-website-by-wordpress/

  8. gazellethemes
    Member
    Posted 3 years ago #

    One thing I did with some of my previous wordpress magazine themes is use a PHP output buffer to pull out the first img URL with code like this:

    function match($regex, $str, $i = 0) {
    	if(preg_match($regex, $str, $match) == 1)
    		return $match[$i];
    	else
    		return false;
    }
    
    function get_the_image_url() {
    	ob_start();
    	the_content();
    	$imgBeg = strpos(ob_get_contents(), '<img');
    	$imgStuff = substr(ob_get_contents(), $imgBeg);
    	ob_end_clean();
    	$imgEnd = strpos($imgStuff, '>');
    	$postImg = substr($imgStuff, 0, $imgEnd+1);
    	$url = match('/src="(.*?)" /msi', $postImg, 1);
    	return $url;
    }

    And then I like to use a PHP thumbnail image generator/cache. Just call the image within the loop:

    <a href="<?php the_permalink() ?>"><img class="thumb" src="<?php bloginfo('stylesheet_directory'); ?>/resize.php?src=<?php echo get_the_image_url(); ?>&amp;h=160&amp;w=160&amp;zc=1" height="160" width="160" alt="<?php the_title(); ?>"></img></a>

    That's the way I do it. PS: the get_the_image_url() funtion had many more options, I just stripped them out for simplicity. It could use some refactoring

  9. gazouteast
    Member
    Posted 3 years ago #

    Hi - I use both Wynton and Brandford themes by those themes' author - no problems at all.

    If you see the theme author's site, he has a mini-forum where you can get a list of the image field names for the different images that are used (e.g. home-category-image).

    I suggest you create one featured post that uses every possible image field and create each of them in the custome fields section - wordpress will then remember them and they'll be available for future posts without having to think about them.

    Make a post-it note for the recommended sizes and stick it on your monitor, or hack the WP write page code and insert a text table of sizes and field names (it'd be nice if Michael actually created a plug-in to do that for each of his themes as they have so many different custom fields and max sizes - but that's another argument)

    Hope it helps
    Gaz

Topic Closed

This topic has been closed to new replies.

About this Topic