Viewing 30 posts - 1 through 30 (of 36 total)
  • Author
    Posts
  • #257864

    I noticed that there is no way to put a static slider image or any kind of an image at the top of a page designated as the BLOG page. Nothing will show up and i would like to decorate it a bit.

    Also, if you turn off the breadcrumbs and titles in the master theme section, it won’t let you turn them back on for individual pages.

    So, i can’t put an image at the top of the blog page with the title or the title itself on the BLOG page.

    Is there a way to do either of these that I am missing?

    Thx in advance.

    #257867

    Hi!

    You can try with this code (put it in functions.php):

    function after_head_image_func($content){
    	if(is_page( 33 )){
    	echo "<div class='custom_content'><img src='_URL_'></div>";
    	}
    }
    add_action('ava_after_main_container', 'after_head_image_func');

    Change 33 by the ID of the blog page.

    Best regards,
    Josue

    #257879
    This reply has been marked as private.
    #257884

    Hey!

    When you edit the page you can see the ID in the URL path:

    Put the code at the end of functions.php, and yes you would have to put the code every time you update the theme but you can avoid this using a child theme.

    Yes, that would be the image URL.

    Regards,
    Josue

    #257889

    ok thx.

    any tips on making a child theme, other than the video?

    #257893

    Hey!

    I think the video pretty much covers all, if you have any questions regarding child themes please let us know.

    Also, you can download a child theme ready to upload here:
    http://kriesi.at/files/enfold-child.zip

    Cheers,
    Josue

    #257894
    This reply has been marked as private.
    #257895
    This reply has been marked as private.
    #257896

    Sorry i didn’t understand your question, can you please elaborate?

    #257901

    Oh, i see. When you activate an Enfold child theme you have the option to import the parent theme settings:

    Cheers!
    Josue

    #257903
    This reply has been marked as private.
    #257904
    This reply has been marked as private.
    #257908

    Hi!

    The video was released before this ‘import parent settings’ feature came out, so now you just need to press that button after you activate the child theme and you are good to go.

    Also remember that you can always switch back to the parent theme if you experience something wrong, so you can try it out safely.

    Cheers!
    Josue

    #257909
    This reply has been marked as private.
    #257914

    You are welcome, let us know how it goes :)

    Regards,
    
Josue

    #257915
    This reply has been marked as private.
    #257962
    This reply has been marked as private.
    #257972
    This reply has been marked as private.
    #257974

    Hi!

    Can you post a link to the blog page and a blog post?

    Regards,
    Josue

    #257988
    This reply has been marked as private.
    #258000

    Hey!

    The code you’d need should be like this one:

    function after_head_image_func(){
    	if(is_singular()){
    		echo do_shortcode("[av_fullscreen size='extra_large' animation='slide' autoplay='false' interval='5'][av_fullscreen_slide id='2626'][/av_fullscreen]");
    	}
    }
    add_action('ava_after_main_container', 'after_head_image_func');

    You’d need to change the av_fullscreen shortcode by the one of yours, to see the generated shortcodes in a Page refer to this article:
    http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/

    Best regards,
    Josue

    #258001

    I know this may be a little confusing if you don’t have the coding skills, i can try do it for you if want but i’d need a temporary admin account to do it.

    #258013
    This reply has been marked as private.
    #258015

    Ok, reply back to this topic when you are done, don’t forget to put the login details as a private reply.

    Best regards,
    Josue

    #258029
    This reply has been marked as private.
    #258030
    This reply has been marked as private.
    #258031

    Hi,

    Yes, they are private.

    Please post the temporary admin account, a FTP access would be helpful too, just in case i need to rollback the functions.php via FTP.

    Regards,
    Josue

    #258036
    This reply has been marked as private.
    #258037
    This reply has been marked as private.
    #258038

    Use any of yours, but if you don’t have one use avia.josue at gmail dot com.

Viewing 30 posts - 1 through 30 (of 36 total)
  • The topic ‘Page selected as main BLOG page does not allow images’ is closed to new replies.