Tagged: x
-
AuthorPosts
-
February 24, 2017 at 2:02 am #1384024
FairbankingParticipantHi, I am using the Postie plugin, which puts attached images into [gallery] but I want the gallery to appear below the email text, rather than in what looks like a header, installing the child theme does not seem to me to give me this capability either.
Once I have that behaviour sorted, “would it be reasonable to assume” I could then modify the plugin to to point at [Envira] (or whatever the shortcode is) and take advantage of configuring the layout
Currently on my production site a post looks like this using the standard WordPress “Create Gallery” function from within Media, and I want to replicate this (including the Lightbox functionality)
Currently I get this on my testing server.
http://www.intraconis.com/?p=8931
Advice and guidance appreciated
February 24, 2017 at 3:14 am #1384072
Rue NelModeratorHello There,
Thanks for writing in! To assist you better with this issue, would you mind providing us the url of your site with login credentials, if necessary, so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password (only if necessary)Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thank you.
February 25, 2017 at 5:35 am #1385296
FairbankingParticipantThis reply has been marked as private.February 25, 2017 at 5:50 am #1385301
FairbankingParticipantThis reply has been marked as private.February 25, 2017 at 2:18 pm #1385598
RadModeratorHi there,
Would you mind providing the exact thread where you pulled those replies?
Are you intending to replace with Envira shortcode, like making the Envira shortcode the default ? It’s not possible.
And please provide your site’s URL as well. I’m still confused about it, would you mind providing more details and mockup design as samples? Are these galleries already existing from your other site and just need to automatically include below the post of your new site?
Thanks!
February 25, 2017 at 3:38 pm #1385650
FairbankingParticipantThis reply has been marked as private.February 25, 2017 at 3:39 pm #1385651
FairbankingParticipantThis reply has been marked as private.February 25, 2017 at 3:45 pm #1385653
FairbankingParticipantEvery time I reply it appears various random threads are being pulled in from your support system.
I have been posting the relevant urls, from my sites which are being picked up by your system and linking to these unrelated posts. I have inserted a series of 5 —– to break the url to see if that helps
http://—–intraconis.net/?—–p=—-8237
I will see if anything gets pulled when I hit submit
February 25, 2017 at 3:49 pm #1385658
FairbankingParticipantSo take the —– out of the above link to see what I would like
and take them out of this to see what I am current getting
http://—–intraconis.com/?—–p=—-8976
which is what I need guidance with
Weird
February 25, 2017 at 11:55 pm #1385925
RadModeratorHi there,
Thanks, it’s clear now 🙂
Though, it’s only possible with custom coding. Example, you can place gallery shortcode automatically through the_content filter like this
add_action('the_content', 'post_footer_gallery', 99999999); function post_footer_gallery ( $content ) { return is_singular('post') ? $content.do_shortcode('[gallery_shortcode]') : $content; }What I’m not sure is how you’ll differentiate each gallery for each post since it has to be automatic. You may ask second opinion from a developer 🙂
Or you may use WP Custom Field https://codex.wordpress.org/Custom_Fields, example, let’s say you added post_gallery as field NAME and value of [gallery_shortcode id=”3234″] as value then you can simply add this once
add_action('the_content', 'post_footer_gallery', 99999999); function post_footer_gallery ( $content ) { return is_singular('post') ? $content.do_shortcode( get_post_meta(get_the_ID(), 'post_gallery', true) ) : $content; }Then onwards, you can add custom field post_gallery to each of your post with your gallery shortcode.
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1384024 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
