Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @mrqq – There could be a plugin conflict going on here or at least it should be ruled out. Have you tried deactivating all of your plugins, clearing your browser cache (and site caches if you are using a caching plugin), then reactivating the NextGEN plugin?

    If this fixes the problem then it was likely one of the deactivated plugins that was causing an issue. Now, retrace your steps activating each plugin and re-checking to see if the problem returns. If it does then that last activated plugin was probably the one. Keep reactivating and in most cases it is also best to keep checking after each plugin, sometimes there may be more than one plugin on a site that will create an issue. If you do find one (or more) plugins causing this problem we would greatly appreciate your feedback on them so the developers may address them as soon as they can.

    Also to note, in rare cases it may be the theme itself that is causing a conflict so while you have just the NextGEN plugin activated you might consider temporarily switching to one of the default WordPress Twenty series themes and see if this corrects the issue as well.

    If the problem still persists after all of this we would still want to know, even more so, as we will still want to sort out the issue and may need additional details.

    Thanks!

    – Cais.

    Thread Starter mrqq

    (@mrqq)

    Hi,

    the only active plugin besides NGG is Akismet.

    However, you were right – switching to default WP theme makes the album appear. How do I go about figuring out what’s wrong?

    Plugin Contributor photocrati

    (@photocrati)

    @mrqq – As this appears to be a theme issue you may need to work with the theme author to sort out what could be causing this issue … you can also look at using the Theme Check plugin as a way to get an idea what might be considered an issue with the theme as well.

    – Cais.

    Thread Starter mrqq

    (@mrqq)

    Unfortunately, theme author is long gone.. ??

    I found the culprit, in functions.php:

    function maybe_list_children($content) {
    	if (trim(strip_tags($content)) == '') {
    		return '<ul class="children-list">' . wp_list_pages('child_of=' . get_the_ID() . '&echo=0&title_li=') . '</ul>';
    	} else {
    		return $content;
    	}
    }
    
    function list_children_shorttag() {
    	return maybe_list_children('');
    }
    
    add_filter('the_content','maybe_list_children');
    add_shortcode('puslapiai', 'list_children_shorttag')

    if I comment out add_filter call, it starts to work..

    Plugin Contributor photocrati

    (@photocrati)

    @mrqq – Thanks for the update … this appears to be related to the WordPress core bug referenced in trac ticket #17817

    Hopefully this will be resolved and committed to core soon and these types of issues will finally be corrected.

    – Cais.

    Thread Starter mrqq

    (@mrqq)

    @wonderboymusic (Core Committer) — 63 minutes ago
    Milestone changed from 4.3 to Future Release
    With a heavy heart

    ??

    Plugin Contributor photocrati

    (@photocrati)

    @mrqq – Yes. It is frustrating to continually see this ticket get pushed back.

    – Cais.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Shortcode works, but Attach to Post not’ is closed to new replies.