Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #1470718
    Frank Scheuber
    Guest

    I bought a new Enfold license with a 1 year maintenance contract today. But I can’t find a way to write an amount in the support. That’s why I’m trying it this way:
    My question is:
    How can I display not only the text but also the post image in the categories of a blog? I use the Avia Layout Architect Editor for all my posts.

    #1470805

    Hey Frank Scheuber,

    Thank you for the inquiry.

    The featured images seem to be displaying correctly on the category page (see private field). Did you manage to resolve this?

    To properly open a thread here in the forum, please register an account using your purchase code at the following link:

    // https://kriesi.at/support/register/

    Once registered, you can open a new thread or ticket using this form: https://kriesi.at/support/forum/enfold/#new-post

    Best regards,
    Ismael

    #1470820

    Unfortunately, when I create a category, I don’t see any images in the category overview. What I’ve done now is create pages that use the Avia Layout Architect Editor for blog posts. Then the images appear. I’ve now created a widget for the categories called TEST. When you click on the posts there, no post images are displayed.
    You can tell by the link, because the sub dir is missing. The link should read: https://www.pattayablog.com/category/allgemein/

    #1470822

    Hi,

    Thank you for the update.

    Looks like there are no featured images assigned to the post (see private field). Please make sure to assign a featured image. Check the link below:

    // https://wordpress.com/support/featured-images/#set-a-featured-image

    Best regards,
    Ismael

    #1470824

    I think I always do this for all blogs and posts. However, I use Avia: See this picture: Einstellungen

    #1470871

    Hi,

    Thank you for the update.

    The posts still have no featured images. Please check the private field. The images that you see there are added directly in the editor, which will not be automatically set as a featured image. You have to apply the featured images manually.

    Best regards,
    Ismael

    #1470872

    Ist this no featured image? Posts
    If not, than tell me exactly, how i have to do that manually, please.

    #1470876

    Hi!

    Thank you for the screenshot.

    Looks like you’ve already added featured images to the posts, but for some reason, they aren’t displaying in the actual posts. Please provide the login details in the private field so we can check the settings.

    Regards,
    Ismael

    #1470877

    I create

    • This reply was modified 3 weeks, 4 days ago by frasche2024.
    #1470885

    Hi,

    Thank you for the inquiry.

    The Appearance > Theme File Editor is not accessible, so we’re unable to edit the functions.php file. Please add this filter to modify the layout of the archive or category pages:

    add_filter('avf_blog_style','avf_blog_style_mod', 10, 2);
    function avf_blog_style_mod($layout, $context){
        if($context == 'archive') $layout = 'single-big';
        return $layout;
    }

    Best regards,
    Ismael

    #1470891

    It works, but the images are too small in height. Can I still adjust the height in CSS?

    #1471012

    Hi,
    Try this function instead:

    add_filter('avf_blog_style','avf_blog_style_mod', 10, 2);
    function avf_blog_style_mod($layout, $context){
        if($context == 'archive') $layout = 'full';
        return $layout;
    }

    If you copy this code from an email, make sure that the quotes are not changed to “curly quotes” when you paste into your child theme functions.php
    Is the link below correct?
    If this doesn’t help please enable Appearance > Theme File Editor so we can test, or provide FTP access

    As for your support contract please enter your new purchase code at register and then go to the support forum and then open a new thread for your next thread, first we will finish this one question about the image height.

    Best regards,
    Mike

    #1471120

    I have now installed the PHP code in the latest version from you. That does NOT work!
    So I have now changed the wp-config.php so that the theme editor works. So you can make changes but please let me know what you changed.
    I removed the widget CATEGORIES because I can’t use it without the correct image view.

    #1471132

    Hi,

    Thank you for the update.

    Please revert back to the previous avf_blog_style filter:

    add_filter('avf_blog_style','avf_blog_style_mod', 10, 2);
    function avf_blog_style_mod($layout, $context){
        if($context == 'archive') $layout = 'single-big';
        return $layout;
    }

    Then, include the hook below:

    function avf_blog_featured_image_size_mod() {
        global $avia_config;
        $avia_config['image_size'] = 'full'; 
    }
    add_action('after_setup_theme', 'avf_blog_featured_image_size_mod');
    

    Best regards,
    Ismael

    #1471134

    That not work. Same as before : functions.php in Child

    #1471185

    Hi,

    It works, but the images are too small in height. Can I still adjust the height in CSS?

    You may need to adjust the default size of the entry_without_sidebar thumbnail. Please add this filter in the functions.php file:

    function avf_customization_modify_thumb_size( $size ) {
          $size['entry_without_sidebar'] = array( 'width' => 9999, 'height' => 9999 );
          $size['entry_with_sidebar'] = array( 'width' => 9999, 'height' => 9999 );
          return $size;
    }
    
    add_filter( 'avf_modify_thumb_size', 'avf_customization_modify_thumb_size', 10, 1 );

    Then use the following plugin to regenerate the thumbnails:

    // https://wordpress.org/plugins/force-regenerate-thumbnails/

    IMPORTANT: Please make sure to create a site backup or restore point before proceeding.

    Best regards,
    Ismael

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