Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #258818

    Hi there,

    first of all, I really love Enfold. It’s not only a great theme, it’s like an entire new WordPress. Keep up the good work!

    I’d like to customize the look of the single post page. Besides choosing the position of the sidebar (left/right) I can’t find other options. I’d like to add a custom widget area on top of every blog post or add a slideshow (or even a Layerslider) on top of every post.

    How can this be done?

    Thanks!!

    #259087

    Hey henningtillmann!

    You would need to customize the single.php file and its corresponding css/meta boxes. The theme doesn’t currently support any other form of customization for the single post layouts.

    Cheers!
    Devin

    #259123

    Ok, that means I’m not blind and there is no other option besides editing the php files.

    Thanks
    Henning

    #259160

    Yes, aside from the options in the Blog Layout tab in the theme options that would be it:

    #259783

    I’ve tried to add a LayerSlider to single.php as mentioned here:
    https://kriesi.at/support/topic/layerslider-in-php-file/#post-121792

    But it does not work. What can I do?

    #259839

    Hey!

    Thank you for the update.

    Do you mind if we take a look at the page with the layerslider shortcode modification? Please place the code of single.php file that you modified on pastebin.com. We would like to check it. Instead of using the do_shortcode function, use the layerslider function. It looks something like this:

    <?php layerslider(1) ?>
    

    This is the same as:

    echo do_shortcode('[layerslider id="1"]');
    

    Cheers!
    Ismael

    #259912

    Hey Ismael,

    I tried both:
    <?php layerslider(1) ?>

    That results in:
    Fatal error: Call to undefined function layerslider() in /www/htdocs/v160319/blog/wp-content/themes/enfold/single.php on line 24

    When I use
    echo do_shortcode('[layerslider id="1"]');

    The output is
    [layerslider id="3"]

    I haven’t really modified any of the php files, I’ve just added one line of code:
    http://pastebin.com/PFhg7taj
    (Line 25)

    Thanks in advance
    Henning

    #260475

    I’m not really sure why but I can’t get any implementation of the LayerSlider shortcode or functions to output. Its worth noting that their php example is invalid since its missing the closing ; .

    Up until version 2.7 the shortcodes were disabled with the plugin but they are now enabled for regular usage. There really shouldn’t be any reason why they aren’t getting output by themselves.

    I don’t have a stand alone version to test with unfortunately so I can’t say if its a LayerSlider issue or what.

    #260487

    Devin, would be great if you keep an eye on this and maybe you’re able to fix it anytime soon? Because I really need to put a LayerSlider on the single post page (I’d like to even customize it a bit more through JavaScript and interact with the post content).

    Thanks!!

    #261145

    Hi!

    Do you have the latest version of Enfold?

    Regards,
    Josue

    #261201

    Yes!

    #261932

    For this kind of usage it looks like you’ll need to purchase the plugin by itself and then disable the included version. The interaction between the theme and it while included is causing a conflict somewhere that we’ve been unable to track down.

    You can disable it with:
    add_theme_support('deactivate_layerslider');

    Right after the global $avia_config; in a parent theme or in the child themes functions.php at the top.

    #525492

    Does this work or the woocommerce as well?

    add_theme_support(‘deactivate_woocomerce’);

    #525764

    Hey!

    No, if you want to disable WC simply go to Plugins and deactivate it there.

    Regards,
    Josue

    #590349

    Hi,

    Don’t mean dig up old threads but the first search result on Google brought me here.

    Just a quick question – What’s the aspect ratio or dimensions of the featured image that appears at the top of a single blog post?

    Or at the very least, what dimensions would you recommend?

    #590384

    Hi!

    Depends if you’re using a Sidebar or not, here are the ideal sizes as set in functions.php:

    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>845, 'height'=>321);		            	// big images for blog and page entries
    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 );						// images for fullsize pages and fullsize slider
    

    Cheers!
    Josue

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.