where is the gallery_shortcode generated? (4 posts)

  1. dikkevandale
    Posted 6 years ago #

    I have a problem editing the code of the gallery shortcode..

    After searching the files I found the gallery_shortcode is being generated in:


    But after changing some code in that file, the changes are not visible in the webpage :/

    I can also delete the whole function gallery_shortcode($attr) and it still shows the gallery normally.

    It looks like the code is coming from somewhere else. Can anyone check this for me. It really sucks!

  2. dikkevandale
    Posted 6 years ago #

    No one??!

  3. henkholland
    Posted 6 years ago #

    Do you have a gallery plugin doing the "works" instead of wp-includes/media.php ?

  4. dikkevandale
    Posted 6 years ago #

    No, thats the problem why I can't find it. If I delete the whole media.php it doesn't work anymore (doh). But deleting only the shortcode <br clear:both;> and other gallery shortcode things doesn't seem to affect the output of the gallery :/

Topic Closed

This topic has been closed to new replies.

About this Topic