Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Allen

    (@amweiss98)

    First, it looks like the RSS feed has some strange image in it. What the the RSS feed. It would require customizing the code to substitute the image for some other shortcode and wouldn’t likely work programmatically inserted as is done using the feed to post.

    Thread Starter theSysadminChannel

    (@paulcontreras)

    Hi, Thank you for the quick response. I clicked on the option to eliminate all hyperlinks so the default that I am getting now is: (example)

    <div class=”ftpimagefix” style=”float:none;”><img width=”500″ src=”https://i.imgur.com/OmLeY97.jpg”></div&gt;

    I am currently setting all posts to pending, manually removing that code and changing it to [gallery columns="1" size="full"] and then publishing because I have specific functions and css that are used with the gallery.

    Is this easily changeable?

    -Paul

    Plugin Author Allen

    (@amweiss98)

    To do this you would need to go into the excerpt_functions.php file, and look for the link that creates what showed above), then change that to put your shortcode function in…the problem is that simply putting the function branckets [gallery, etc, ] in will not likely work – you may need to try something like a php line, like

    do_shortcode(‘[gallery columns="1" size="full"]‘);

    if you get this working, you’ll need to save this file since it will be overwritten in the next update.

    Thread Starter theSysadminChannel

    (@paulcontreras)

    Perfect. I found the line code that outputs the div from above and was able to out put the gallery shortcode that i premade. Everything is working as planned and working beautifully. Thank you very much..

    Plugin Author Allen

    (@amweiss98)

    Great to hear…please do me a favor and rate the plugin…thanks

    Thread Starter theSysadminChannel

    (@paulcontreras)

    I rated it 5 Stars. Excellent support. Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Automatically use [gallery] in the body of the feed to post.’ is closed to new replies.