charliep127
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] Getting Images To Show In XML Sitemap1.) I upload the image to the wordpress media library
2.) WordPress automatically creates the “thumbnail,” “medium,” and “large” image sizes according to the dimensions I’ve specified in my dashboard under settings->media.
– Note: for (1) and (2)), the pictures are uploaded locally to my site.
3.) These images are copied to my Amazon S3 bucket using the WP Offload Media Lite plugin, and the image URLs are rewritten altered so that they point to the bucket.Forum: Plugins
In reply to: [Yoast SEO] Getting Images To Show In XML SitemapHi Michael,
It affects all posts, but here’s the one I was referring to specifically.
https://charlie.weathertogether.net/2018/09/24/warmest-weather-this-week-for-at-least-six-months/
The only images that are indexed are the featured image (the colorful satellite image at the top) and the University of Washington satellite image, and that is because these are the “originals” that were directly uploaded (whether it is the “full-sized” UW Satellite image or the featured image that was created by the theme).
The other images in the theme (including the un-cropped colorful satellite image that is the same as the featured image) are not indexed, and this is because the images displayed on the page are not the ones directly uploaded… rather, they are the “large,” “medium,” etc. versions of those.
Unfortunately, it didn’t work, even with all plugins deactivated. However, the error message itself changed slightly… it no longer has a conflict with the backwpup plugin.
Error:
Warning: require_once(components/class-netsposts-html-helper.php): failed to open stream: No such file or directory in /home8/weathfc0/public_html/wp-content/plugins/network-posts-extended/netsposts-init.php on line 30
Fatal error: require_once(): Failed opening required ‘components/class-netsposts-html-helper.php’ (include_path=’.:/opt/php70/lib/php’) in /home8/weathfc0/public_html/wp-content/plugins/network-posts-extended/netsposts-init.php on line 30
Forum: Fixing WordPress
In reply to: Preventing Previously Defined Image Sizes from UploadingAny ideas?
Forum: Fixing WordPress
In reply to: Preventing Previously Defined Image Sizes from UploadingYes, I cannot get rid of the 350auto and 350245 image sizes that I defined. Unfortunately, I can’t remember where I defined them – it may have been through a plugin.
Forum: Fixing WordPress
In reply to: Preventing Previously Defined Image Sizes from UploadingThese are not the thumbnail/medium/large sizes, these are extra images that I defined. The names of then are 350auto and 350245. It produces these images for every theme (I run multiple themes on the network), and it even produces them when I download a new theme and upload pictures to it. In other words, the issue isn’t theme-specific.
This is what I’ve been posting in my functions.php of each theme.
add_action(‘init’, ‘remove_350auto_images’);
function remove_350auto_images() {
remove_image_size(‘350auto’);
}
add_action(‘init’, ‘remove_350245_images’);
function remove_350245_images() {
remove_image_size(‘350245’);
}Should I also post it elsewhere, to make sure these images aren’t generated in the first place?
It works brilliantly! Thank you SO SO much!!!
Unfortunately, the .htaccess code doesn’t work. If you could make a patch, I would be very thankful. Since this is a multisite install, it would have to cover all subdomains, not just charlie.weathertogether.net.
Thank you so much,
CharlieI think I may have found the culprit. Network Posts Extended adds the subdomain to the featured image URL, but this doesn’t work for Amazon S3.
For example, Network Posts Extended will try to draw a featured image from https://s3-us-west-2.amazonaws.com/charlie.weathertogether.net/wp-content/uploads/sites/5/2017/09/Mt-Rainier-Webcam-September-Snow-150×150.jpg, but the correct URL is https://s3-us-west-2.amazonaws.com/weathertogether.net/wp-content/uploads/sites/5/2017/09/Mt-Rainier-Webcam-September-Snow-150×150.jpg.
Forum: Plugins
In reply to: [Network Posts Extended] “Read more” links to wrong postWhoops, sorry this completely slipped my mind! I wasn’t able to fix it, but I found that it was pinging the title/slug in the multisite ID but not the main one (ex: https://weathertogether.net/?p=5699 doesn’t work but https://charlie.weathertogether.net/?p=5699 does. I didn’t see any problems with duplicate page IDs.
If I recreate the post to create a new page ID, is there a way for me to timestamp it as the original time of the post? I don’t know if I’ll spend time doing this, just curious.
Forum: Plugins
In reply to: [Network Posts Extended] ThumbnailsNevermind, I found another plugin to do this for me.
Forum: Themes and Templates
In reply to: [Customizr] Collecting All Posts From Network On Front PageSorry, my website is https://weathertogether.us/
Hi Robert, that worked for the map! Thank you so much!
Is it still possible to make the list beneath the map more neatly aligned?
Thanks,
Charlie