Database interaction (private-public) [closed]
Forget that kind of interaction… drupal ? IDK
Forget that kind of interaction… drupal ? IDK
There is a very easy solution to your problem. Just add a capability to the particular role of this user, through the Wp_Role class. WordPress has this feature of Submitting for Review active for authors and contributor by default, but, if you want to use pages, you have to give them the edit_pages capability, but … Read more
I figured out it was because of an script that was delivered with the Options Framework. There was a little piece of code in my functions.php which caused wrong javascript to be loaded. When you are having the same problem, be sure to search for something like wp_enqueue_media(); or something of the following script, comment … Read more
To me you code looks good, I would recommend adding priority as high as 9999 Heres how : add_filter(‘the_content’, ‘filter_ptags_on_images’, ‘9999’);
Solved.. it turns out the link dialog does not work if the body has the “modal-open” class.
I had no problem until I working with my localhost. After uploading, I was able to edit css files but not php files. after a lot of research, I found problem source is enabling HTTPS protocol. I changed url to normal HTTP and everything was good. After some research, finally enabling openssl extension in php.ini … Read more
“modify front end text editor” is not an option anywhere in WordPress. You must have a theme or plugin that’s adding this option. WordPress has no UI for modifying the editor at all. The problem is that WP Job Manager is probably not using the same ‘front end text editor’ that this theme/plugin is referring … Read more
Sorted this myself! May help some people… $cat = get_query_var(‘cat’); $prod_extras = get_option(Category_Extras); $this_application = $prod_extras[$cat][‘Category_Extras_Applications’]; if(!empty($this_application)) { echo $this_application; } Cheers, Dave
Yes that’s the default behavior. When an “author” writes a post, he cannot publish it, only an “editor” (or higher) can do the publishing action. As for email notification, there are a couple of plugins for that, here are two : WP Status Notifier WP Pending Post Notifier
You’ll need two code snippets. The first puts the select menu there. The second populates it. This is based on this tutorial, but slimmed down a bit. add_filter( ‘mce_buttons_2’, ‘mrw_mce_bad_buttons’ ); add_filter( ‘tiny_mce_before_init’, ‘mrw_mce_init’ ); function my_mce_buttons() { return array(‘formatselect’, ‘styleselect’, ‘|’, ‘forecolor’, ‘underline’, ‘justifyfull’, ‘|’, ‘pastetext’, ‘pasteword’, ‘removeformat’, ‘|’, ‘charmap’, ‘|’, ‘outdent’, ‘indent’, ‘|’, … Read more