Liltiger
Forum Replies Created
-
Hi Jeremy,
I’ve tried my best to follow the guides that you provied, and came up w/ the following lines of code.
`$get_image_options[‘avatar_size’] = 125;
} else {
$get_image_options[‘avatar_size’] = 50;
}`
andif ( 'blavatar' != $image['from'] && 'gravatar' != $image['from'] ) { $size = (int) $get_image_options['avatar_size']; $post['image'] = jetpack_photon_url( $post['image'], array( 'crop' => "10,0,$size,$size" ) );
However, it doesn’t work. I’ve tried a few variations of ‘corp’ and ‘resize’ too.
I have managed to get the media.php to crop all photos from top center. Is it possible to call WP thumbnails instead of photon thumbnails?
Thanks So Much
Ok nevermind. The above code works for the mobile, but for some reason it breaks the page on a pc browser. Sorry, but my php skills are n00b.
Hi again,
I figured out how to get the title above the featured image, but it shows the same featured image twice – one above and below the title. Here’s the modified code. Could I get more direction? Thanks again!
/* * Options page */ add_action( 'admin_init', 'jp_mini_featured_init' ); add_filter( 'the_title', 'jp_mini_featured_init' ); // Init plugin options function jp_mini_featured_init( $title ) { $tweak = has_post_thumbnail() && in_the_loop(); $featured_content = ( $tweak ) ? get_the_post_thumbnail() : ''; return $title . $featured_content; add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), 'jp_mini_featured_action_links' ); register_setting( 'jp_mini_featured_options', 'jp_mini_featured_strings', 'jp_mini_featured_validate' ); // Add settings to the Minileven Options page add_action( 'jetpack_module_configuration_screen_minileven', 'jp_mini_featured_configuration_load' ); add_action( 'jetpack_module_configuration_screen_minileven', 'jp_mini_featured_do_page' ); }
Sorry for the late reply, but thanks!
I tried to distinguish the new code by making it bold, but it didn’t work. Just take out the tags so that it looks like this:
`// hide private and password protected posts
if ( ‘publish’ != $post->post_status || !empty( $post->post_password ) || empty( $post->ID ) || get_post_type($post_id)==’page’ )
continue;’If you would like to remove all pages, you could replace the code starting on line 274 with:
// hide private and password protected posts if ( 'publish' != $post->post_status || !empty( $post->post_password ) || empty( $post->ID ) <strong>|| get_post_type($post_id)=='page'</strong> ) continue;
That’s the work around that I found.
Forum: Plugins
In reply to: [Fast Secure Contact Form] Invalid URLHello,
I tried to play with the form again and I couldn’t duplicate it either. I did save it as a text field for a few days and switched it back to the url field though. Not sure if that would change anything.
Anyways, Merry Christmas & Thanks Again!
Forum: Plugins
In reply to: [Fast Secure Contact Form] Invalid URLHi, the link to my form is: https://streetstyleedition.com/apply-street-style-ambassador/
Thanks for looking into it!
Forum: Plugins
In reply to: [Fast Secure Contact Form] Photo Attachment via Mobile Devices Not Supported?Gotcha. Thanks & Merry Christmas!
Forum: Networking WordPress
In reply to: Redirecting Non Existing Subdomain To Main PageThanks for replying. The define(‘NOBLOGREDIRECT’, ‘%siteurl%’); seems to allow my 404 to work. I’m not sure what I changed to get it though.
Hey,
I’ve resolved it. For some reason, I had to save the menu using the top position and then save it to the bottom position again. These small nuances can be so annoying.
Will you take a look at this and tell me what you think?
https://heartfashionweek.com/hello-world/
All I know is that the old vs had block margins set at 12. When using the new vs I have to set the block margins at 6 and it’s still not centered. It still looks fine with the old vs and old settings on my main website. Same theme, style sheet, and sidebar width settings. It’s obvious from my point of view that something has changed. Am I missing something?
I don’t need the features of your pro just yet since I’m still developing the site. Truthfully, it doesn’t build much confidence if you’re rolling out buggy free versions so that you can persuade people to buy your pro version. Look, I understand and appreciate that you are a very involved developer – which takes a lot of effort and time, but I’ve been more than patient and I’m getting quite frustrated especially since I used to really like your plugin.
Hi,
I’m just checking back to see if there are any new developments on this.
Much Thanks
Forum: Networking WordPress
In reply to: Can I abandon or redirect the main site of WP MU?Hi, might I suggest going to your wp-config.php file and editing the multisite section to fit your needs.
/* Multisite */
define( ‘WP_ALLOW_MULTISITE’, true);
define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, true);
define(‘DOMAIN_CURRENT_SITE’, ‘example.com‘);
define(‘PATH_CURRENT_SITE’, ‘/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);I have the group block ads in a 3×2 grid with 12px AD 12px AD 12px margins. After the update to vs X.10, it’s a 6×1 and the margins look like 12px AD 24px AD 12px. Hope that makes sense. I just updated to vs X.11 and it still does the same.