• I want to be able to have a text description with each gallery. Since there is no editor in the foogallery custom post type, I experimented and tried adding the editor which worked fine but then I need to alter both the custom post type file and the (in this example) the gallery-default template. Which I think is bad practice. Is there a better way to add this feature? I tried making an extension on my own (via the added boilerplate) but my knowledge in coding is close to zero so I didn’t succeed. Is this maybe a feature/function that might be added in a future release? It would be really handy and I noticed someone else asking the same thing before.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author bradvin

    (@bradvin)

    As you suggest, it is best not to edit core plugin files, as they will be overwritten when the plugin is updated.

    I have looked into this before, and the editor can be added to the gallery edit page with very little code changes, but then came the question of where to show this gallery description on the page? Above or below? Or include another setting for this?

    Another question is around the description content. Should it be plain text, or should the editor be used, so any HTML?

    An extension is a good idea for now, but perhaps a global setting built in, which enables this feature, would be the best approach, and it is disabled by default?

    My biggest concern is still how it will be shown in the gallery template

    Thread Starter linapina1

    (@linapina1)

    Well my idea was to just have the text in simple plain text, <p> style, and above the gallery images under the gallery title. NextGen has that feature built in on the Manage gallery page as a gallery description field. If you would add it as an option, disabled or enabled, that would be great.

    Plus one for this feature. A simple text description that would allow some basic html formatting would be fine – no need for a wysiwyg editor. Description should be above the gallery and below the title, so I can read what the photos are about, then see the photos.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Gallery description text?’ is closed to new replies.