Title: melriks's Replies | WordPress.org

---

# melriks

  [  ](https://wordpress.org/support/users/melriks/)

 *   [Profile](https://wordpress.org/support/users/melriks/)
 *   [Topics Started](https://wordpress.org/support/users/melriks/topics/)
 *   [Replies Created](https://wordpress.org/support/users/melriks/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/melriks/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/melriks/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/melriks/engagements/)
 *   [Favorites](https://wordpress.org/support/users/melriks/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/users/melriks/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/melriks/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Error adding image to Media Library “The server cannot process the image …”](https://wordpress.org/support/topic/error-adding-image-to-media-library-the-server-cannot-process-the-image/)
 *  [melriks](https://wordpress.org/support/users/melriks/)
 * (@melriks)
 * [4 months, 3 weeks ago](https://wordpress.org/support/topic/error-adding-image-to-media-library-the-server-cannot-process-the-image/#post-18764800)
 * Here’s a work around for those with the MetaData upload problem and the ability
   to edit your functions.php file.
 * > [Upload processing error](https://www.reddit.com/r/Wordpress/comments/1pdf8ga/upload_processing_error/)
   > 
   > by[u/davidaweeks](https://www.reddit.com/user/davidaweeks/) in[WordPress](https://www.reddit.com/r/Wordpress/)
 * The instructions by ShrimpCrackers worked for me on Host Gator. Switching from
   Image Magick to GD allowed jpgs with meta data in them to upload correctly. Skip
   the htaccess edit and use the function.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Comet Cache] We forked Comet Cache, try Rapid Cache.](https://wordpress.org/support/topic/we-forked-comet-cache-try-rapid-cache/)
 *  [melriks](https://wordpress.org/support/users/melriks/)
 * (@melriks)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/we-forked-comet-cache-try-rapid-cache/#post-13970414)
 * Is Rapid Cache legal? I liked what I saw, but I’m worried about stealing code.
 * It’d be great if Rapid and Comet created Rapid Comet Cache and kept everything
   together.
 * Comparing Rapid and Comet to WP Rocket, WP Total, WP Fastest… Rapid Comet still
   feels like the best caching option out there.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Comet Cache] Beware, it seems that this plugin is no longer updated.](https://wordpress.org/support/topic/beware-it-seems-that-this-plugin-is-no-longer-updated/)
 *  [melriks](https://wordpress.org/support/users/melriks/)
 * (@melriks)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/beware-it-seems-that-this-plugin-is-no-longer-updated/#post-13970393)
 * As a note, I checked with WP Sharks and this plug-in is still supported.
 * The website needs some fixing, but they are still around.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[WP2Static] Download button does nothing](https://wordpress.org/support/topic/download-button-does-nothing-2/)
 *  [melriks](https://wordpress.org/support/users/melriks/)
 * (@melriks)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/download-button-does-nothing-2/#post-11873423)
 * For anyone else who might have this problem…
 * I had two problems.
 * 1. The site URL wasn’t set to use SSL, but I was accessing the site using https.
   Script not found errors.
 * 2. I had used cPanel to put a directory lock on the WordPress portion of the 
   site. The directory lock was blocking the crawler. To get by it, in WP2Static
   settings, check Use basic authentication and complete the Basic auth user and
   Basic auth password.
 * Once those problems were fixed, my site exported as needed.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[WP2Static] Download button does nothing](https://wordpress.org/support/topic/download-button-does-nothing-2/)
 *  [melriks](https://wordpress.org/support/users/melriks/)
 * (@melriks)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/download-button-does-nothing-2/#post-11872193)
 * Did you find a solution? After weeks of working, suddenly the button doesn’t 
   export.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Snippets - Custom WordPress Code Snippets Customizer] Announcement: Development of Post Snippets is on hold](https://wordpress.org/support/topic/announcement-development-of-post-snippets-is-on-hold/)
 *  [melriks](https://wordpress.org/support/users/melriks/)
 * (@melriks)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/announcement-development-of-post-snippets-is-on-hold/#post-8979952)
 * Has anyone found an alternative to this plugin?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Snippets - Custom WordPress Code Snippets Customizer] give editors access](https://wordpress.org/support/topic/give-editors-access/)
 *  [melriks](https://wordpress.org/support/users/melriks/)
 * (@melriks)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/give-editors-access/#post-8979947)
 * This can also be added to functions.php to enable editors to change snippets.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [add_menu_page access to editors](https://wordpress.org/support/topic/add_menu_page-access-to-editors/)
 *  [melriks](https://wordpress.org/support/users/melriks/)
 * (@melriks)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/add_menu_page-access-to-editors/#post-8909820)
 * The answer to allowing editors to see custom menus is to change the capabilities
   in the add_menu_page function.
 * Get an editor capability.
    [https://codex.wordpress.org/Roles_and_Capabilities](https://codex.wordpress.org/Roles_and_Capabilities)
 * Look up the proper code
    [https://developer.wordpress.org/reference/functions/add_menu_page/](https://developer.wordpress.org/reference/functions/add_menu_page/)
 * Looking at the example text from add_menu_page, where it says ‘manage_options’,
   change it to ‘edit_others_posts’ or another editor capability.
 *     ```
       /**
        * Register a custom menu page.
        */
       function wpdocs_register_my_custom_menu_page() {
           add_menu_page(
               __( 'Custom Menu Title', 'textdomain' ),
               'custom menu',
               'manage_options',
               'myplugin/myplugin-admin.php',
               '',
               plugins_url( 'myplugin/images/icon.png' ),
               6
           );
       }
       add_action( 'admin_menu', 'wpdocs_register_my_custom_menu_page' );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Postie] Template Variables?](https://wordpress.org/support/topic/template-variables/)
 *  Thread Starter [melriks](https://wordpress.org/support/users/melriks/)
 * (@melriks)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/template-variables/#post-7116589)
 * Just in case someone else wants to try this…I built a custom loop that finds 
   the child page and child page’ attachment url. Show’s a link.
 * {cat} is the post category
    {anchortext} is the text of the link
 *     ```
       //Custom Loop
   
       define( 'WP_USE_THEMES', false );
   
       $arg = array(
       	'post_type' => 'post',
       	'cat' => {cat},
       	'posts_per_page' => 1,
       );
   
       $my_wp_query = new WP_Query( $arg );
       	while($my_wp_query->have_posts()) {
       		$my_wp_query->the_post();
   
       //Variables for content
       $post_id = $my_wp_query->post->ID;
       $post_link = get_permalink();
   
       // Get the child ids
       $children_args = array(
          'post_type' => 'attachment',
          'numberposts' => -1,
          'post_status' => null,
          'post_parent' => $post_id
         );
   
       //Echo the results of the child ids
   
       $attachments = get_posts( $children_args );
            if ( $attachments ) {
               foreach ( $attachments as $attachment ) {
       $child_id = $attachment->ID;
                  echo '<div>';
       $attachment_page = wp_get_attachment_url( $attachment->ID );
                  echo "<p class=\"{class}\" id=\"$post_id\">";
       echo"<a class=\"button red full-width\" href=\"$attachment_page\" id=\"$child_id\">{anchortext}</a>";
                  echo '</p></div>';
                 }
            }
   
       // Wrap up php
   
       	} // end while
       wp_reset_postdata(); // reset the query
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Postie] Template Variables?](https://wordpress.org/support/topic/template-variables/)
 *  Thread Starter [melriks](https://wordpress.org/support/users/melriks/)
 * (@melriks)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/template-variables/#post-7116578)
 * We have two menus and two event calendars. We’re sending them in as pdf attachments.
   In the attachment template, I have “<p>[Current Menu](https://wordpress.org/support/users/melriks/replies/{FILELINK}?output_format=md)
   </p>”
 * What I really need is
    <p>[{EmailSubject}](https://wordpress.org/support/users/melriks/replies/{FILELINK}?output_format=md)
   </p>
 * I need to be able to change out the words of the anchor depending on the email
   sent in.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Job Manager] Genesis Theme , Genesis Simple Sidebars](https://wordpress.org/support/topic/genesis-theme-genesis-simple-sidebars/)
 *  Thread Starter [melriks](https://wordpress.org/support/users/melriks/)
 * (@melriks)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/genesis-theme-genesis-simple-sidebars/#post-6699440)
 * Here’s the answer for anyone who needs to do this.
    [https://wordpress.org/support/topic/genesis-simple-sidebars-with-custom-post-types?replies=5#post-7604307](https://wordpress.org/support/topic/genesis-simple-sidebars-with-custom-post-types?replies=5#post-7604307)
 * Set get_post_type() == ‘job_listing’ as the conditional.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Genesis Simple Sidebars] Genesis Simple Sidebars with Custom Post Types?](https://wordpress.org/support/topic/genesis-simple-sidebars-with-custom-post-types/)
 *  [melriks](https://wordpress.org/support/users/melriks/)
 * (@melriks)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/genesis-simple-sidebars-with-custom-post-types/#post-6256621)
 * Thanks for this. Worked perfectly.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Smooth Slider] Remove JS inline Styles](https://wordpress.org/support/topic/remove-js-inline-styles/)
 *  Thread Starter [melriks](https://wordpress.org/support/users/melriks/)
 * (@melriks)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/remove-js-inline-styles/#post-5748881)
 * Thank you. It worked perfectly.
 * Details for those that are trying this: duplicate the default folder and rename
   it a single word name i.e., “custom”.
 * in /wordpress/wp-content/plugins/smooth-slider/css/skins/[skinname]/functions.
   php
 *     ```
       line 2 replace smooth_post_processor_default with smooth_post_processor_[skinname]
       line 3 replace $skin='terma'; with $skin='[skinname]';
   
       line 181 replace smooth_slider_get_default with smooth_slider_get_[skinname]
       line 182 replace $skin='terma'; with $skin='[skinname]';
   
       line 289 replace smooth_data_processor_default with smooth_data_processor_[skinname]
       line 290 replace $skin='terma'; with $skin='[skinname]';
       ```
   
 * in /wordpress/wp-content/plugins/smooth-slider/css/skins/[skinname]/settings.
   php
 * `Lines 2 and 3 replace $default_settings_default with $default_settings_[skinname]`
 * Reupload to /wordpress/wp-content/plugins/smooth-slider/css/skins/[skinname]/
 * Return to the Dashboard and Smooth Slider. Under Basic Controls, change the first
   item to your new skin. Save.
 * If you get an error, you messed up an edit. Start over.
 * *********************
 * In-line CSS:
 * for those wanting to remove it, the inline CSS is added in the /wordpress/wp-
   content/plugins/smooth-slider/css/skins/[skinname]/functions.php
 * It’s scattered throughout.
    Example: Look at line 161. This is one version of
   the <h2>.
 * Remove
    `'.$smooth_slider_css['smooth_slider_h2'].'` and `'.$smooth_slider_css['
   smooth_slider_h2_a'].'`
 * This will zap the inline CSS.
 * Repeat where you see similar code.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eyes Only: User Access Shortcode] Is possible to use it directly on theme?](https://wordpress.org/support/topic/is-possible-to-use-it-directly-on-theme/)
 *  [melriks](https://wordpress.org/support/users/melriks/)
 * (@melriks)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/is-possible-to-use-it-directly-on-theme/#post-5068365)
 * Yes, you can use the do_shortcode directly on a theme template file.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Youtube Channel Gallery] Missing options tabs in 4.0](https://wordpress.org/support/topic/missing-options-tabs-in-40/)
 *  [melriks](https://wordpress.org/support/users/melriks/)
 * (@melriks)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/missing-options-tabs-in-40/#post-5302291)
 * Plus 1 on this. If you configure the widget, the output is great.
 * However, in WordPress 3.9.2, there is no tab in the Dashboard to change settings.

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/users/melriks/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/melriks/replies/page/2/?output_format=md)