Jump to content


This topic is now archived and is closed to further replies.


Gallery plugin page doesn't render but shortcode in a page does

Recommended Posts


More of a question. If I install this pretty standard gallery plugin and add the images then 'view gallery' the page generated doesn't load the DMS editor - it looks all messed up http://screencast.com/t/mHAcmmj5w3. The only way is to add a shortcode in the postloop (I haven't tried to use the nextbox with this). I would have thought the gallery is simply behaving as a custom post type but I'm not sure why it breaks DMS?

Share this post

Link to post
Share on other sites

Nextbox is the safest way, but Danny will tell you the best way is to use a hook. 


Just tested it for you and it works (in a plnextbox). Personally prefer lightbox plus colorbox , what you have there is nice and simple

Chrome Developer tools - please use them. If you are not sure how, then it is easy to learn

Be inventive in your keyword search of the forum ie Navi > Navbar > menu > tabs > font > color. Your answer lies there somewhere!

Share this post

Link to post
Share on other sites

GetMeWebDesign I will try with the plugin you suggest, often it doesn't need to be anything else than a simply rendered image with no farting about. I am still kind of interested in why that custom post type doesn't render in DMS whilst the shortcode in the postloop is perfectly fine. And I'm hardly doing to tell a client to add a gallery using a hook...

Share this post

Link to post
Share on other sites
James B

I would imagine that the page it creates is being dynamically created by the plugin rather than pulling the content into a specific section like the postloop on the static page url you've created, so your css/LESS styles aren't being compiled.


Whereas if you put the shortcode within the postloop or a section yourself, it runs on the static page within the existing content.

Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post

Link to post
Share on other sites

Ok thanks for the straightforward answer. ok to close.

Share this post

Link to post
Share on other sites

Thanks for informing us the issue has been resolved.

Please search our forums, before posting!

Share this post

Link to post
Share on other sites

  • Similar Content

    • stijnxo
      By stijnxo+
      The Filtering of categories in the Masonic Gallery refreshes back to ALL categories when the DMS Revslider loads a new image?
      Anybody any idea? See Artists Category refreshes back to ALL when the DMS Revslider with images on the top loads a news image on http://www.18hrsfestival.nl/
    • cstudio
      By cstudio
      How do I control the lightbox effect on the plugin "popthumbs"?  On mobile, it opens up much to small then when expanded it opens to large.  I would like to control the the lightbox to like 90% of the viewer window but I can't figure out how/where to control that.
      Site example

    • FRevi
      By FRevi+
      I am trying to achieve a gallery (Envira Gallery plugin) that spans the full width of a page, within Platform 5 theme. Can't figure it out.
      The page should look roughly like this: www.frankrevi.photography/envira/favorites-2 (maybe minus the title, that's another story). This is a standalone gallery page and not part of my site. Nothing links to it.
      But instead it is this on the real page: www.frankrevi.photography/favorites.
      Currently I have the gallery in a Pagelines Framework Content section. My framework content wrap is set to unwrapped full width. I'm using all 12 columns. In Pagelines Settings, my Layout/Nav Content Width is set to 100%.
      How can I get the gallery on the real page URL to be the full page width please?
    • Lisa Haran
      By Lisa Haran
      I have a map here http://www.iloveoffset.com/maps/
      I want to add several pointer locations to the map, but when I do they do not appear.
      On this map there are 2 pointer locations and as you can there is only one visible.
      Earlier today I added 7 and could only see 4 so there is something odd going on.
      My theme is up to date
    • clj182
      By clj182+
      I've been having trouble unlocking the template section for past couple of weeks. When I try clicking nothing happens. 
      I've deleted my custom css and removed plugins. Im down to having only the following plugins:
      Contact Form 7
      DMS Professional Tools
      Pagelines Updater
      It was working fine before i have no idea what's going on with it.