awpu
Forum Replies Created
-
Forum: Plugins
In reply to: [Post Views for Jetpack] REQUEST: Unique Post ViewsThank you for the response. Are non-unique visitors per page available by any chance?
Forum: Plugins
In reply to: [Post Views for Jetpack] REQUEST: Unique Post ViewsFollow up: I was reviewing Jetpack Statistics further and it seems what I’m actually requesting is “Visitors” who viewed the page. Not sure if this is available per post, but if it is I’d greatly appreciate having it available as a shortcode.
Thank you.
Thank you, that’s what I needed :).
Forum: Plugins
In reply to: [OG — Better Share on Social Media] How to add image to each item?Hi,
I was able to achieve what I needed by adding the following to my functions.php file:
// Add enclosure tag to rss feed items add_action( 'rss2_item', 'rss_feed_add_featured_image_enclosure_to_item' ); function rss_feed_add_featured_image_enclosure_to_item() { global $post; if ( function_exists( 'has_post_thumbnail' ) && has_post_thumbnail( $post->ID ) ) { $attachment_id = get_post_thumbnail_id($post->ID); $featured_image = wp_get_attachment_image_src( $attachment_id, 'post-thumbnail' ); $url = $featured_image[0]; $length = filesize(get_attached_file($attachment_id)); $type = get_post_mime_type($attachment_id); echo '<enclosure url="' . $url . '" length="' . $length . '" type="' . $type . '" />'; } }
Thank you.
Forum: Plugins
In reply to: [The SEO Framework – Fast, Automated, Effortless.] Missing Sitemap.xmlHmmm, it seems I can reach the sitemap if I add a trailing slash, i.e. /sitemap.xml/, so likely a server configuration issue. I’ll check with my host, unless you have any other ideas?
Thanks.
OK, figured this out if someone else needs it:
if (key($_POST['local-avatar'])) { $pod = pods('user'); $pod->save('local-avatar', key($_POST['local-avatar']), $current_user->ID); }
- This reply was modified 5 years, 10 months ago by awpu.
Forum: Plugins
In reply to: [WP SmartCrop] Possible to set specific aspect ratioThank you. Also FYI, I see this php warning:
Illegal offset type in isset or empty.
wp-content/plugins/wp-smart crop/wp-smartcrop.php:460Forum: Plugins
In reply to: [WP SmartCrop] Possible to set specific aspect ratio@jdembowski Thank you. I should be more careful.
@gschoppe Can you confirm if you go my email(s)?
Thanks.
Forum: Plugins
In reply to: [WP SmartCrop] Possible to set specific aspect ratioThank you, though not getting anticipated results. I now have a lot of blank space under my featured images. It’s a grid layout, with feature image above, and title below the image.
I was hoping to simply end up with the largest 2:1 image possible, already
autosmart-cropped, therefore making the blank space unnecessary.Should I be adding another css rule with .wpsmartcrop-image?
Thanks.
P.S. I am using Jetpack Photon, so I had to turn off the generate thumbnail option.
- This reply was modified 5 years, 11 months ago by awpu.
OK, thank you for the clarification. If he requested the refund, then it’s not an issue.
Wow, just wow. I was reading the reviews to compare SEO options, and am absolutely shocked by what I read here.
So, you went out of your way to hurt someone’s working site out of spite? They didn’t ask for a refund, but you decided to go ahead and cancel their already implemented purchase because you didn’t like their review? It would be totally foolish to risk doing business with you.
Great, thank you.
I tried this filter, but it’s not re-ordering?
add_filter( 'the_seo_framework_articles_post_type_support', function( array $types = [] ) { // Reorders "post" default selection. The first is auto-selected. $types['post'] = [ 'BlogPosting', 'Article', 'NewsArticle' ]; return $types; } );
- This reply was modified 5 years, 12 months ago by awpu.
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] How to use tptn_post_titleThank you, this worked:
function replace_hot_list_title_with_teaser($title, $result) {
return get_post_meta($result->ID, ‘teaser_title’, TRUE);
}
add_filter(‘tptn_post_title’, ‘replace_hot_list_title_with_teaser’, 10, 2);