Andy Mercer
Forum Replies Created
-
Forum: Plugins
In reply to: [Featured Galleries] Gallery title, caption and descriptionThe function
wp_get_attachment_metadata()
returns an array, so it’s working correctly. See this page in the Codex for examples of how to use it:https://codex.www.ads-software.com/Function_Reference/wp_get_attachment_metadata
Forum: Plugins
In reply to: [Featured Galleries] Undefined variable: oldfix in metabox.phpJust pushed an update with the fix, and credited you in the changelog.
Forum: Plugins
In reply to: [Disqus Conditional Load] Won't ActivatePer email, this has been figured out. The problem was that I enqueue jQuery in the footer of my website instead of the header. This plugin outputs some of the necessary savascript inline. A wrapper placed around the code fixes the issue and adds support for themes with jQuery in the footer.
Forum: Plugins
In reply to: [Featured Galleries] Undefined variable: oldfix in metabox.phpI’ve got a fix working on my local machine. I’ll push an update to the repository tonight. Thanks for identifying this!
Forum: Plugins
In reply to: [Disqus Conditional Load] Won't ActivateUnder the Troubleshooting section, it mentions an option to switch to external files, under Advanced Settings.
https://help.disqus.com/customer/portal/articles/472005-wordpress-troubleshooting#external-files
That option isn’t appearing for me.
Forum: Plugins
In reply to: [Disqus Conditional Load] Won't ActivateI’ve switched it back to output in footer, and it appears that it’s still outputting inline. I think that is the issue.
Forum: Plugins
In reply to: [Disqus Conditional Load] Won't ActivateI have it loaded in the footer. I’ve been going over the page source and it appears that you are loading the Disqus script inline, before the footer.
Forum: Plugins
In reply to: [Disqus Conditional Load] Won't ActivateDone
Forum: Plugins
In reply to: [Disqus Conditional Load] Won't ActivateI currently have it set to load on scroll. Here is an example post:
https://www.andymercer.net/blog/2015/03/favicons-performance-issues/
Forum: Plugins
In reply to: [Disqus Conditional Load] Won't ActivateTried in footer and not, no difference.
Forum: Plugins
In reply to: [Disqus Conditional Load] Won't ActivateJoel, sorry to keep asking questions that are probably dumb, but I’m still having trouble. I’ve turned off the official plugin, and activated yours.
With default settings, it shows on my blog pages a button to Show Comments. Clicking the button does nothing. When I changed it to load on scroll, nothing loads at all. When set to disabling lazy loading entirely, the comments load like normal.
There’s an API key input, but I don’t think I have one of those already, so I’m not sure if I need it if I’m not allowing WP.com sign-ins.
Forum: Plugins
In reply to: [Disqus Conditional Load] Won't ActivateOops, you are correct, it’s right there. I somehow missed it, and thought this goes on top of the other. Much appreciated.
Forum: Plugins
In reply to: [Featured Galleries] plz add to FAQ: (how to CPT)Added; thanks for the suggestion!
Forum: Plugins
In reply to: [Featured Galleries] Image title/captionIt is not currently possible, because I’ve hidden the sidebar with CSS. I personally like having a cleaner media overlay. However, you can change this. Open up the admin.css file, which you can do via the Editor menu inside WordPress, or by FTP.
Inside that, look at the very beginning. The first rules you should see should be setting
left:0
for three different things. After that, there are three things set toright:0
. Remove that second section, which is:.no-sidebar .attachments-browser .media-toolbar, .no-sidebar .attachments-browser .attachments, .no-sidebar .attachments-browser .uploader-inline { right: 0; }
Finally, remove the very first line of the next section, which is:
.no-sidebar .media-sidebar,
—-
So, the first 18 lines of admin.css change from:
/* Remove the Details Sidebar on Media Overlay */ .no-sidebar .media-frame-title, .no-sidebar .media-frame-content, .no-sidebar .media-frame-router { left: 0; } .no-sidebar .attachments-browser .media-toolbar, .no-sidebar .attachments-browser .attachments, .no-sidebar .attachments-browser .uploader-inline { right: 0; } .no-sidebar .media-sidebar, .no-sidebar .media-frame-menu .media-menu a, .no-sidebar .media-frame-menu .media-menu div, .no-sidebar .media-toolbar-secondary, .no-sidebar .media-frame .attachment .describe { display: none; }
To:
/* Remove the Details Sidebar on Media Overlay */ .no-sidebar .media-frame-title, .no-sidebar .media-frame-content, .no-sidebar .media-frame-router { left: 0; } .no-sidebar .media-frame-menu .media-menu a, .no-sidebar .media-frame-menu .media-menu div, .no-sidebar .media-toolbar-secondary, .no-sidebar .media-frame .attachment .describe { display: none }
This will get the right-hand sidebar back.
Forum: Plugins
In reply to: [Featured Galleries] Example galleriesIt’s going to take me a bit longer than I was originally anticipating, because work has gotten very busy this week. It’s still on my list, but this might take a couple weeks.
So for the moment, there are a few things I can do to point you in the right direction. First thing to do would be to look at the code that produces the official
[gallery]
shortcode. You couple copy/paste that code over, and edit it. It would get you a grid type gallery.Main thing to understand here is that the Featured Galleries plugin just handles the data and backend portion. It delivers the data to your theme or plugin. You can use it with anything. You could try out Masonry.js itself, even, using data from this plugin.