TV productions
Forum Replies Created
-
Forum: Plugins
In reply to: [Easy Photo Album] Can I be added as a committer?Here you go.
I will check in the future if I have more time to check on this plugin.
Forum: Plugins
In reply to: [Easy Photo Album] autoplay and full screenThis is something that might be added in the future. (#2245)
Thanks for your suggestions!
Forum: Plugins
In reply to: [Easy Photo Album] Easy Photo Album Rounded CornersYou can achieve this by adding the following css rule somewhere in your theme:
.epa-album .epa-image img { border-radius: 20px; }
Forum: Plugins
In reply to: [Easy Photo Album] Remove navigate between albums bottonThat is something you have to change in your theme. Somewhere in your theme are probably some lines of code that look like this:
<?php next_posts_link(); prev_posts_link(); ?>
Replace it with:
<?php $p = get_post(get_the_id()); if ('easy-photo-album' !== $p->post_type) { next_posts_link(); prev_posts_link(); } ?>
This will display the next en prev links only when the current post is not a photo album
Forum: Plugins
In reply to: [Easy Photo Album] Multisite Lightbox problemHi Phil,
The point is that users other than Super Admin aren’t allowed to post unfiltered html. This means that the required tags that make the album work, are removed by WordPress.
What you may try is this:
/** * Makes sure the html content of an album doesn't get filtered * Unfiltered html is thus allowed when it is an album. */ function epa_fix_albums_html_on_wp_ms($caps, $cap, $user_id, $args) { // Is the requested cap unfiltered_html? if ($cap !== 'unfiltered_html') return $caps; // Get the current post $post = get_post($args[1]); if ($post->post_type === 'easy-photo-album') { // No caps required return array(); } // It is not an easy photo album return $caps; } add_filter('map_meta_cap', 'epa_fix_albums_html_on_wp_ms', 10, 4);
I did’t had the chance to test it, but it should allow all users to post unfiltered html with photo albums. You have to put the code in a plugin for that is network activated. I recommend to create a plugin and put this code in it.
I hope it will work.
Forum: Plugins
In reply to: [Easy Photo Album] Extra dataWhat happens is that your theme displays post meta (some meta data that you can add to your post). Easy Photo Album uses post meta data to store the images in the album and your album settings. So when you view an album in ‘single’ view (like https://arlingtonlodge.org/albums/4th-of-july/), your theme “sees” the post meta and displays it. The other pages with albums don’t have that problem because you use the shortcode there. A page with the epa shortcode doesn’t has post meta data from Easy Photo Album because that data belongs to the album, not the page. So your theme doesn’t “see” any data, so it displays nothing.
Maybe it is a theme option to display post meta. You should contact the theme developer to ask how to get rid of displaying post meta data.
Forum: Plugins
In reply to: [Easy Photo Album] Albums in archives widgetThere is currently no “built-in” support for a widget with albums, but you can achieve it by the plugin Flexible Post Widget.
Forum: Plugins
In reply to: [Easy Photo Album] Extra dataI don’t have exactly an image of what you are describing. Can you please provide a link?
Forum: Plugins
In reply to: [Easy Photo Album] Up and Down photo didn't workPlease drag and drop the photos to order them. That order will be saved. The up and down links aren’t working right now. They will be in the future.
Forum: Plugins
In reply to: [Easy Photo Album] Extra tagsI do a rewrite of the code, but I’ve not yet decided if I remove the wpautop filter in the future or if I achieve my goal via an other way. If I still use the wpautop filter, I’ll add at least a filter do disable it.
I will use a better lightbox for the next version of Easy Photo Album. I see you already don’t use Easy Photo Album any more, that’s too bad.
Forum: Plugins
In reply to: [Easy Photo Album] View more links backThat is a bug that will be solved in the next update.
I see you don’t use Easy Photo Album any more, that is too bad, although I understand it.Forum: Plugins
In reply to: [Easy Photo Album] alignement of album in post.Please send me an email (INFO (at) TV (minus) PRODUCTIONS (dot) ORG) with the url, so I can have a look. If I find a solution, I’ll post it here.
Forum: Plugins
In reply to: [Easy Photo Album] some bug with the excerptI’m glad you’ve found a solution that is working for you. I will notify you when a proper update is published.
Forum: Plugins
In reply to: [Easy Photo Album] some bug with the excerptThank you for reporting this. It is indeed a bug in Easy Photo Album. I can’t solve this quick, so you have to wait for a next major update.
I assume the link you posted is actually a page with some photo albums included with shortcodes. Am I right?