eloylb
Forum Replies Created
-
Hi, what was the fix?
It worked by itself!!
Thank you Jeremy for the temporary and permanent fix.
Cheers!
It’s working with the PHP edit.
I have multiple sites, so I edited the PHP and uploaded it to all the sites.I hope this edit will be included in the next update so we don’t have to do it again.
Thanks,
The cron calls a php file called cron.php. The containt of the file is:
require_once(dirname(__FILE__) . ‘/../../../wp-config.php’);
nocache_headers();
if(!get_option(‘wpr_options’)) {
return false;
}if(isset($_REQUEST[‘code’]) && $_REQUEST[‘code’] == get_option(‘wpr_cron’)) {
require_once( dirname(__FILE__) . ‘/wprobot.php’ );
wpr_run_cron($_REQUEST[‘id’],$_REQUEST[‘mincamp’],$_REQUEST[‘maxcamp’],$_REQUEST[‘minposts’],$_REQUEST[‘maxposts’],$_REQUEST[‘randtime’],$_REQUEST[‘chance’]);Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] https instead of http in newsletters URLHi,
Was a solution found for this problem? My news letters are all sent with https and I don’t have force_ssl_admin in my wp-config.php file.
My certificate is self-signed and I don’t use it on any part of the site. I sometimes use it to login to the admin interface.Here’s a link to the latest news letter.
Forum: Themes and Templates
In reply to: [StrapVert] A little CSS to help you outThank you, I fixed the link.
Forum: Themes and Templates
In reply to: [StrapVert] A little CSS to help you outHi, if you’re talking about the posts on the home page, I’m using a plugin called Content Views to display them. I’m also using it on pages where I want to display posts from different tags like the page https://celebritiesreport.com/kardashians-jenners/
Forum: Plugins
In reply to: [WP2Social Auto Publish] Post published twice after new versionHi. It’s not resolved yet. I noticed that if the scheduled post has a photo, it is published twice. If it has no photo, it is published only once.
Forum: Plugins
In reply to: [WP2Social Auto Publish] Images not publishingHere’s the link https://www.ads-software.com/plugins/facebook-thumb-fixer/
Forum: Plugins
In reply to: [WP2Social Auto Publish] Images not publishingTry to add a plugin called Facebook Thumb fixer
Forum: Reviews
In reply to: [AddToAny Share Buttons] How to remove addtoany spywareCan you please explain why does your plugin redirects share requests through your site?
Forum: Themes and Templates
In reply to: [StrapVert] Staticpage first, then featured items?Hi bcwood16,
I’ve customized this theme pretty much to my liking. Check my website here
To answer you, your best bet is to disable the featured section alltogether and use an plugin to display the featured content on the home page. I’m personally using the “Content Views” plugin.
You can customize it to display any category or tag or something else you want. just place the shortcode after whatever you want to put first on your front page.
If you need help, just reply back.// If you didn't define a post thumnail, let's forget about all this if ( !has_post_thumbnail( $post->ID ) ) return $content; // What's the cropping and the size of image we should use on Single pages? // See https://developer.wordpress.com/docs/photon/api/#crop for parameters if ( is_single() ) { $args = array( 'fit' => '50,50,200px,200px', ); } // resizing on other pages else { $args = array( 'fit' => '200,400', ); } // Let's create a Photon Image URL from the Post Thumbnail $feat_image_url = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full'); $photon_image_url = jetpack_photon_url( $feat_image_url[0], $args ); // Let's build the image tag $our_image = sprintf( '<div class="post-media"><a href="%1$s" title="%2$s"><img src="%3$s" class="wp-post-image" alt="Featured Image"></a></div>', esc_url( get_permalink() ), esc_attr( sprintf( __( 'Open %s', 'dot' ), get_the_title() ) ), esc_attr( $photon_image_url ) ); // Let's return the image, right before the post content return $our_image . $content; } add_filter( 'the_content', 'jeherve_display_custom' );
If I change the last statement below in functions.photon.php from [$arg] to ‘fit’ will all my photos that get passed through photon will get the fit action?
if ( is_array( $args ) ){
// Convert values that are arrays into strings
foreach ( $args as $arg => $value ) {
if ( is_array( $value ) ) {
$args[$arg] = implode( ‘,’, $value );It will be
if ( is_array( $args ) ){
// Convert values that are arrays into strings
foreach ( $args as $arg => $value ) {
if ( is_array( $value ) ) {
$args[‘fit’] = implode( ‘,’, $value );
}}