• Resolved SimplyMarkB

    (@smartguyus)


    Hi. I wanted to changing the position of the output. Right now it lists:

    Post-Title
    Blog-Title – Date of post

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. In condimentum adipiscing nulla ut ornare. Quisque vitae gravida leo. Fusce vitae feugiat dui. Etiam adipiscing, lectus vitae po… more

    **** But I need it to list:

    Blog-Title
    Date
    Post-Title
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. In condimentum adipiscing nulla ut ornare. Quisque vitae gravida leo. Fusce vitae feugiat dui. Etiam adipiscing, lectus vitae po… more

    How can I do this? Any ideas anyone?

    https://www.ads-software.com/extend/plugins/network-latest-posts/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Jose Luis SAYAGO

    (@iluminatus)

    Hi, shamefully this is not possible right now. You’d have to tweak the code in order to do so, however I’ve done it for you, please download this version: NLPosts MetaOrder and replace the one you’ve installed. Hopefully it will display meta elements in the order you need them.

    I’m currently working on the next major release which will make it easier to tweak visual style.

    Please, let me know if it works.

    Best regards.

    Thread Starter SimplyMarkB

    (@smartguyus)

    WOW Jose. Thanks a million. We love this plugin here at the magazine. It is one of the more useful ones we have put to use. Very cool.

    Thread Starter SimplyMarkB

    (@smartguyus)

    One last question for you Jose. I am a coder so I don’t want to put you out of your way. You have helped greatly with your revision that I downloaded and am now using.

    On the post for FullMeta it lists (for example):
    HEALTH & FITNESS
    Published on February 6, 2013 by Megan McDonald

    is there a shortcode option to make it say:
    HEALTH & FITNESS
    2/6/13

    -or- should I be checking the code? If so, where and I will work it out.

    BTW, our URL is sarasotamagazine.com if you want to check it out!

    Thanks again!

    Plugin Author Jose Luis SAYAGO

    (@iluminatus)

    Hi, I’m glad you find it useful.

    If you want to tweak the version you just downloaded, the lines you’d want to modify are:

    733 & 960

    // Print metainfo
    echo __('Published on','trans-nlp') . ' ' . $datepost . ' ' . __('by','trans-nlp') . ' ' . '<a href="' . $author_url . '">' . $author->display_name . '</a>';

    However the date format is taken from the Blog settings, the variables are found on lines 721 & 948:

    $format = (string)${'date_format_'.$all_blogkeys[$field->guid]};

    You could replace them by:

    $format = "m/d/Y";

    Hope this points you in the right direction.

    Thread Starter SimplyMarkB

    (@smartguyus)

    You are the man! Thanks!

    Plugin Author Jose Luis SAYAGO

    (@iluminatus)

    I’m glad to help.

    Cheers.

    Thread Starter SimplyMarkB

    (@smartguyus)

    Hi Jose,

    Looking for a tip.. if you look at my page:
    https://sarasotamagazine.com

    it puts the author into the post excerpt (see below):
    By Megan McDonald Christine Cusack and Kevin Carlson October 20, 2012 The Oaks Club Christine Cusack Carlson and her husband, Kevin Carlson, have a special connection to Sarasota: Both their parents have homes here, …more

    Any way I can move this above the excerpt?

    -Mark

    Plugin Author Jose Luis SAYAGO

    (@iluminatus)

    Hey Mark,

    Sorry it seems your question got lost somewhere in my inbox. That can be fixed using CSS. If you’re using a custom CSS style then just try to add some margin espace to the bottom of the meta div class (.nlposts-olist-meta / .nlposts-ulist-meta / .nlposts-block-meta.

    Something like:

    .nlposts-olist-meta,
    .nlposts-ulist-meta,
    .nlposts-block-meta {
        margin-bottom: 1em;
    }

    Hope this helps.

    Cheers.

    Hi Jose, I was just trying the plug in, I was wondering if it is posible to move the date to teh top and do some styling to it.

    In the site Im working on when you click on the blog the recent post show the date over the image with a red background and some text styling

    I will like to do something similar with the post day in the plugin, I know I might have to change the code so I dont know if it is posible?

    this is the template im using you could take a look to the blog page

    https://themeforest.net/item/invictus-a-premium-photographer-portfolio-theme/180096

    Plugin Author Jose Luis SAYAGO

    (@iluminatus)

    Hi,

    Right now that’s not easily achievable through CSS (I mean, it could be possible to move the meta block to the top but it contains the blog title too, so it may not be what you’re expecting). However, I’m well aware of this issue and am currently working to improve the way data is wrapped inside HTML elements.

    Version 4 will include these and other major improvements, I’m doing my best to release it as soon as I can. I expect it won’t take longer than a couple of weeks. As soon as it’s been released I’ll post back to let you know.

    Thank you for your patience.

    Another vote for making this otherwise excellent plugin fully themable, either by template language codes, or addon template files. Editing core is a pain, and hardcoding is bad, mkay ?? Thanks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Re-arranging content?’ is closed to new replies.