• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

magazine pro

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › magazine pro

This topic is: not resolved
  • This topic has 4 replies, 3 voices, and was last updated 8 years, 7 months ago by DTHkelly.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • July 28, 2014 at 6:11 pm #116162
    bandj
    Member

    magazine pro uses a jquery script to find time for each entry and move it inside the image link. What would I change if I wanted the category instead of the time? Or if not a category, a tag?

    jQuery(function( $ ){

    // add js body class
    $('body').addClass('js');

    // find time for each entry and move it inside the image link
    $('.home-middle article, .home-top article').each(function(){
    var $time = $(this).find('.entry-time');

    $(this).find('a.alignleft, a.alignnone, a.alignright').append($time);

    });

    });

    http://dogloverzdaily.com/
    July 28, 2014 at 6:49 pm #116168
    DTHkelly
    Member

    Changing Post Meta Data Overlaid on Images on Magazine Pro Theme

    July 30, 2014 at 5:32 pm #116387
    bandj
    Member

    1. Change the js file to this and notice where you have to put "categories"

    jQuery(function( $ ){

    // add js body class
    $('body').addClass('js');

    // find time for each entry and move it inside the image link
    $('.home-middle article, .home-top article').each(function(){
    var $time = $(this).find('.entry-categories');

    $(this).find('a.alignleft, a.alignnone, a.alignright').append($time);

    });

    });

    2. In the featured post widget where it says show post title show post info, in the box below add this

    [post_categories before=""]

    mine now looks like this: [post_date] By [post_author_posts_link] [post_comments] [post_categories before=""]. The 2 quotes at the end eliminates the words "filed under". You can add text between the quotes.

    3. In your css where you find

    .js .content .home-middle a .entry-time,
    .js .content .home-top a .entry-time

    Add this:

    .js .content .home-middle a .entry-categories,
    .js .content .home-top a .entry-categories

    Then add this in your css also for font color

    .js .content .home-middle a .entry-categories a,
    .js .content .home-top a .entry-categories a {
    color: #fff;
    }

    We can thank Amelia Briscoe Technical Support Advocate for this as we went through a few emails to get this right.

    July 31, 2014 at 3:34 am #116416
    Andrea Rennick
    Member

    Just a note that we don't normally hand out this amount of code in Support. Amelia happened to have dealt with this situation before, with a previous client.


    **forum signature**
    If you need technical support for your theme please file a ticket.

    The forums are community based. Staff only monitors the forum for issues relating to the forum itself and to redirect users to where they need to go.

    July 31, 2014 at 4:39 am #116420
    DTHkelly
    Member

    Hi Andrea:
    I can certainly understand why not.

    However, for this topic - it is a feature of Magazine Pro itself - and not mere customization.

    The date overlayed on featured posts is great.

    But if your site is static-content driven and not date driven, that Magazine Pro feature is a problem. For static content, overlaying the category makes a lot more sense.

    And now that we have the code - it's all good!

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble