Get / echo the gallery description for a blog post
-
Hello!
I’m presently working on a site (offline on XAMPP – sorry, no link) that displays all our blog posts, downloads, and events in a single feed, using a query created with FacetWP.
This said, I’ve been able to display each MaxGallaria gallery as a post just fine, except there is no text output from
?php the_excerpt();
. That’s when I looked through the PHP of the plugin and realized that the description inserted in the gallery code is custom:if ($options->get_description_enabled() == 'on' && $options->get_description_position() == 'above') { if ($options->get_description_text() != '') { $output .= '<p class="mg-description">' . $options->get_description_text() . '</p>'; } }
Is there a way I can call on
get_description_text()
from outside of the plugin? I have been unsuccessful applying the code in various forms to the display code for the blog. I’m also open to using the default text/visual editor for each gallery post, but it looks as if this isn’t possible in MaxGalleria.Do let me know if there are any options that would work for me here. Your plugin is the absolute first to do everything we need. Granted, I’ll need to get the Pro version for albums, but after trying out about 15 other plugins to no avail, I’m calling this one a win.
Thanks!
-KK
- This topic was modified 7 years, 4 months ago by .
- This topic was modified 7 years, 4 months ago by .
- This topic was modified 7 years, 4 months ago by .
- This topic was modified 7 years, 4 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Get / echo the gallery description for a blog post’ is closed to new replies.