Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Nelio Software

    (@nelio)

    Unfortunately, right now the plugin is extremely simple and does not offer any mechanisms to customize its output. However, I agree with you that this is something that might be interesting, and we’ll be glad to include them in the future.

    In the meantime, you can freely modify the file includes/featured-post-template.php. Simply modify the article HTML block and redistribute all elements as you please. Also, keep in mind to maintain a copy of your modified post-template file, for it will be overwritten in future updates.

    Thread Starter Rick

    (@murlyn)

    Thanks I appreciate the reply. A simple solution might be to enable an override for the featured-post-template..php file. If the person creates a file nelio/featured-post-template.php in their current theme then that would override yours and it wouldn’t be overwritten in future updates?

    Plugin Author Nelio Software

    (@nelio)

    Hi Rick! Yes, exactly! What you propose is what I was thinking about, and I completely agree that’s the proper solution. I’ll include this in the next release of our plugin. However, in the meantime you’ll have to edit the plugin’s file I mention to fix the issue.

    Plugin Author Nelio Software

    (@nelio)

    I’ve updated the plugin so that you can now create your own custom templates. Just create a directory named neioefi in your theme’s directory and create as many your-custom-template.php files as you will. Then, simply specify that the template the widget should use is your-custom-template (without the .php extension) and you’re ready to go!

    Please, let me know if it works as expected. Also, don’t forget to rate the plugin and comment on it! Others will appreciate your opinion about our work 🙂

    Thread Starter Rick

    (@murlyn)

    Awesome, thanks Ill give it a go!

    Hi guys, I’m trying to use this widget in multiple places, each using a different template. How exactly do I tell it to use a specific template? This is what I have now, which doesn’t work:
    echo do_shortcode( ‘[widget id=”neliofp_widget-2″ template=”featured-post-blog-index”]’ );

    it doesn’t recognize the template part, it just behaves as though I have not defined the custom template at all.

    the template file itself is located in the neliofp directory on the server, and is called “featured-post-blog-index.php”

    Any advice would be appreciated!
    Thanks,
    -vb

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Customize’ is closed to new replies.