Permissions question [closed]

Maybe I’ve misunderstood something, but I’m pretty sure WordPress can do this without any plugins. Just set User A as Author, and User B as Editor or Administrator. PS. See Capability vs Role Table: http://codex.wordpress.org/Roles_and_Capabilities#Capability_vs._Role_Table

Hide Pages WooCommerce [closed]

You can do this by using 1) is_shop fx 2) template_redirect action hook 3) wp_safe_redirect fx add_action(‘template_redirect’,’ravs_shop_for_login_user’); function ravs_shop_for_login_user(){ //check user in shop page and not login if( is_shop() && ! is_user_logged_in() ) wp_safe_redirect( home_url() );// enter your url here where you want to redirect page if user on shop page and not registered } … Read more

Need plugins and themes from clients site [closed]

Without FTP access, if you have an administrative login to the WordPress admin you can grab the code from plugins and themes one file at at time. For themes go to Appearance > Editor For plugins go to Plugins > Editor Select the appropriate theme / plugin and go through the list of files downloading … Read more

WordPress Site in Multiple Languages

Best free plugin for your goal is Polylang: http://wordpress.org/plugins/polylang Not so great but still easy to use is mqTranslate, which is a fork of the pretty popular qTranslate: https://wordpress.org/plugins/mqtranslate/ A good popular (but paid) one is WPML: https://wpml.org

WP Job Manger change jobs url (NOT slug)

If you check out the output() method in the includes/admin/class-wp-job-manager-setup.php file, namely this part: /** * Output addons page */ public function output() { $step = ! empty( $_GET[‘step’] ) ? absint( $_GET[‘step’] ) : 1; if ( 3 === $step && ! empty( $_POST ) ) { $create_pages = isset( $_POST[‘wp-job-manager-create-page’] ) ? $_POST[‘wp-job-manager-create-page’] … Read more

Meta Box plugin image_advanced not showing up on frontend

I figures this out. Here is the code that worked: $images = rwmb_meta( ‘mostfilms_onesheet’, ‘type=image_advanced&size=full’ ); foreach ( $images as $image ) { echo “<img src=”https://wordpress.stackexchange.com/questions/190698/{$image[“url’]}’ width=”https://wordpress.stackexchange.com/questions/190698/{$image[“width’]}’ height=”https://wordpress.stackexchange.com/questions/190698/{$image[“height’]}’ alt=”https://wordpress.stackexchange.com/questions/190698/{$image[“alt’]}’ />”; }

How to develop an extension for a simple form post and post back? [closed]

I think the easiest way is adding the form via the Shortcode API. The code would look like this: function myform_handler( $atts ){ if (isset(@$_REQUEST[‘submit’])) { //Do something } else { $return = ‘<form action=”” method=”post”> <input type=”text” name=”myfield”> <input type=”submit” name=”submit> </form>’; } return $return; } add_shortcode( ‘myform’, ‘myform_handler’ ); Then you can add … Read more

Notification When Post Approved

You can use publish_post action hook for notifying post author. function wpcs_author_notification( $post_id ) { $post = get_post( $post_id ); $author = get_userdata( $post->post_author ); $message = “Hi ” . $author->display_name . “, Your post, ” . $post->post_title . ” has just been published at ” . get_permalink( $post_id ); wp_mail( $author->user_email, “Your article is … Read more