etech0
Forum Replies Created
-
Forum: Plugins
In reply to: [User Role Editor] Add capability for Envira Lite gallery pluginNext update:
I discovered that the Envira plugin uses a custom post type called envira.So I added this line by register_post_types:
'capability_type' => 'envira'
And I created a capability edit_enviras, and it allows me to create new enviras. However, it does not let me edit enviras that have already been published.
I then created a capability called edit_published_enviras. However, it does not seem to be working at all. (For example, when this capability is checked off and edit_enviras is not, the Envira menu does not show up in the admin)
How can I figure out what is wrong with my edit_published_enviras capability?
Thank you
Forum: Plugins
In reply to: [User Role Editor] Add capability for Envira Lite gallery pluginUpdate: it looks like this plugin uses Custom Post Types. How do I allow capabilities for only one post type?
Marking as resolved because I changed the page template and the problem went away.
Forum: Plugins
In reply to: [Easy Modal] Modal not loading (via jQuery)Thanks for you reply. Removing the quotes fixed it. I must have copied some bad code to start with.
Forum: Plugins
In reply to: [Easy Modal] Modal not loading (via jQuery)An update because my modal is still not loading. I see this error in the console when loading the page:
Error: Syntax error, unrecognized expression: ‘#eModal-1’Here is the code that tries to load the modal:
jQuery(document).ready(function($) {
setTimeout(function(){
var modal_id = 1;
$(“‘#eModal-” + modal_id + “‘”).emodal(‘open’);
}, 1000);
});The site is dev.goinspire.com
Can you please advise? Thank you!
Forum: Plugins
In reply to: [Easy Modal] Modal not loadingHi danieliser,
My modals are still not loading. Can you please advise?
Forum: Plugins
In reply to: [Easy Modal] Modal not loadingI’m not sure what approve button you are talking about
Forum: Plugins
In reply to: [Easy Modal] Modal not loadingHi! I have many modals and uninstalling/deleting would be a big hassle. I updated the plugin, edited and saved it. Is there anything else to try besides for uninstalling?
Forum: Plugins
In reply to: [Easy Modal] Modal not loadingI updated the plugin, edited it and saved it, but the modal is still not loading. Any ideas?
Forum: Plugins
In reply to: [Easy Modal] Modal not loadingAny update?
Forum: Plugins
In reply to: [Easy Modal] Modal not loadingokay thanks for being on top of it. I will check back tomorrow.
Forum: Plugins
In reply to: [Easy Modal] Modal not loadingI just did that and it’s still not working.
Forum: Plugins
In reply to: [Easy Modal] Modal not loadingOkay. Where should I look?
Forum: Plugins
In reply to: [Easy Modal] Modal not loadingHi! The plugin is fully updated. I edited and saved the theme, and the plugin, and the issue is not resolved. What do you suggest?
In addition, a modal that used to work is no longer working. Please advise.Forum: Plugins
In reply to: [Easy Modal] Modal not loading (via jQuery)Thanks for answering. The plugin is loaded and I see all sorts of emodal stuff in the page source. I just realized that that modal was not set to sitewide, and changed that, but it’s still not loading. Can you please advise?
Thanks!