• lifeincartagena

    (@lifeincartagena)


    Hey there,

    I’d like to know if it’s possible to add more photos/images, preferably Tumblr-like, to a specific post. As of now, I’m only able to add one image to a post and let it feature.

    If I use a plugin or the standard WP gallery format, the featured image will be on top, then the post title will appear, then the gallery and then the text, which makes no sense.

    What I would love is to have multiple photos above the post title.

    Do you have any suggestions on how to do this with this theme or do you recommend any specific plugins?

    Thanks!

    Julien
    https://www.LifeinCartagena.com

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter lifeincartagena

    (@lifeincartagena)

    Hey ColorMag,

    Could you provide some feedback on this question?

    Thank you.

    Julien
    https://www.LifeinCartagena.com

    Thread Starter lifeincartagena

    (@lifeincartagena)

    Anybody on this forum to help with this question/issue?

    Thanks,

    Julien
    https://www.LifeinCartagena.com

    Hello Julien ,
    Sorry for the late response,

    To add multiple post thumbnail please follow the following processes.

    1) Find and install a plugin called Multiple Post Thumbnails.

    2) Create a child theme for your theme. To create a child theme please refere to codex documentation here https://codex.www.ads-software.com/Child_Themes#How_to_Create_a_Child_Theme

    3) In you child theme’s function.php (create if you haven’t yet) paste the below given code

    if (class_exists('MultiPostThumbnails')) {
    new MultiPostThumbnails(array(
    'label' => 'Secondary Image',
    'id' => 'secondary-image',
    'post_type' => 'post'
     ) );
    
     }

    4) Copy the single.php file form your theme’s parent folder to the theme’s child folder and add paste the below given code on line 22 inside the anchor tag and on line 24. (note: do not replace the codes, just paste the below given code)

    <?php
             if (class_exists('MultiPostThumbnails')) :
             MultiPostThumbnails::the_post_thumbnail(get_post_type(), 'secondary-image');
             endif;
             ?>

    regards,

    Thread Starter lifeincartagena

    (@lifeincartagena)

    Thanks your response.

    I was wanting to know, do you also have a solution for why my website, https://www.lifeincartagena.com is not showing up properly on mobile devices.

    My site, https://www.lifeincartagena.com, is not resizing on mobile view as it did a week ago.

    A week ago, on the home page, the right side bar (with responsive ads + video) would place itself under the “Things to do” category.

    Today its’ placed itself next to it, making the “Things to do” and the right side bar crammed up next to each other.

    This has also affected the front page top slider, which now looks nothing like a slider.

    Any tips on how to fix this and what could be the cause?

    My device, Android HTC One M8.

    Thanks.

    Julien

    Hello again ,
    There can be only one possible cause to the problem that is the google ads placement.
    You should place the google ads under a responsive wrapper, which will result in google ads container to inherit the responsive code. To know more check.
    https://support.google.com/adsense/answer/3213689?hl=en

    regards.

    Thread Starter lifeincartagena

    (@lifeincartagena)

    Hi wensolutionsupport,

    Thanks so much for giving me an indication of where the problem lies. After having read the details in link you sent and not being highly technical, could you elaborate on how to fix this? How to ensure that I place the google ads under a responsive wrapper?

    Do you have an example of how to do it so I can recreate it?

    Thanks very much!

    Julien

    Thread Starter lifeincartagena

    (@lifeincartagena)

    Hi,

    Do you perhaps have another link which provides better detail on the “how-to” steps? I’m not sure how to create a responsive wrapper?

    Thanks.

    Julien

    Thread Starter lifeincartagena

    (@lifeincartagena)

    Hello,

    Thanks for the link. That’s actually how I started with Google Adsense, using this link. However, how do I create the responsive wrapper you are talking about?

    Julien

    Thread Starter lifeincartagena

    (@lifeincartagena)

    I found the followingg via W3 Validator:

    Error: Element style is missing required attribute scoped.
    From line 1, column 8893; to line 1, column 8915
    xtwidget”><style type=”text/css”>.adslo
    Attributes for element style:
    Global attributes
    media
    type
    scoped
    Also, the title attribute has special semantics on this element.

    Warning: Element nav does not need a role attribute.
    From line 1, column 9545; to line 1, column 9621
    iv></div> <nav id=”site-navigation” class=”main-navigation clearfix” role=”navigation”><div c

    Warning: Empty heading.
    From line 1, column 9797; to line 1, column 9820
    </div><h4 class=”menu-toggle”></h4><

    What does this mean?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘How to add more photo images to a post’ is closed to new replies.