melriks
Forum Replies Created
-
Forum: Plugins
In reply to: [Comet Cache] We forked Comet Cache, try Rapid Cache.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
In reply to: [Comet Cache] Beware, it seems that this plugin is no longer updated.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
In reply to: [WP2Static] Download button does nothingFor 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
In reply to: [WP2Static] Download button does nothingDid you find a solution? After weeks of working, suddenly the button doesn’t export.
Has anyone found an alternative to this plugin?
This can also be added to functions.php to enable editors to change snippets.
Forum: Plugins
In reply to: add_menu_page access to editorsThe 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.www.ads-software.com/Roles_and_CapabilitiesLook up the proper code
https://developer.www.ads-software.com/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
In reply to: [Postie] Template Variables?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
In reply to: [Postie] Template Variables?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</p>”
What I really need is
<p>{EmailSubject}</p>I need to be able to change out the words of the anchor depending on the email sent in.
Forum: Plugins
In reply to: [WP Job Manager] Genesis Theme , Genesis Simple SidebarsHere’s the answer for anyone who needs to do this.
https://www.ads-software.com/support/topic/genesis-simple-sidebars-with-custom-post-types?replies=5#post-7604307Set get_post_type() == ‘job_listing’ as the conditional.
Forum: Plugins
In reply to: [Genesis Simple Sidebars] Genesis Simple Sidebars with Custom Post Types?Thanks for this. Worked perfectly.
Forum: Plugins
In reply to: [Smooth Slider] Remove JS inline StylesThank 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
In reply to: [Eyes Only: User Access Shortcode] Is possible to use it directly on theme?Yes, you can use the do_shortcode directly on a theme template file.
Forum: Plugins
In reply to: [Youtube Channel Gallery] Missing options tabs in 4.0Plus 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.
Forum: Plugins
In reply to: [TubePress] Tubepress thumbnails not working, nothing happens on clickWhen I look at a debugging tool, I see this error “Unable to get property ‘title’ of undefined or null reference.” Can it be fixed?