Daniel Hendricks
Forum Replies Created
-
I would argue that they’re not changing the sitemap location, but simply creating a sitemap. They just happen to use a different (and more commonly named) filename.
I’m also seeing the same error in the latest release of ClassicPress (1.1.2), which is WordPress with Gutenberg stripped out.
For the record, I personally love Gutenberg. Unfortunately, several of my clients refuse to switch or upgrade and use the Classic Editor plugin. :/
Also, I’m not sure which Organization type to choose for our sites. Is there/can there be added something for the News Outlet / Politics / Politics News industry?
Thanks again,
DanielExample page with audio content:
https://www.bloomberg.com/news/audio/2019-11-27/surveillance-negative-interest-rates-with-kotok-podcastForum: Plugins
In reply to: [Safe SVG] “Pending Full Review”are SVG only a problem if you don’t make them yourself? So, for instance, I make my own in illustrator does that mean they don’t need sanitising?
Correct. (unless your computer or site are pwned in some unspeakable way to attack SVGs, but if that is the case, you have bigger problems)
For client’s who are too cheap to buy the pro version (which is excellent, by the way), I run my SVGs through svgo anyway regardless of source, because why not?
Forum: Plugins
In reply to: [Restricted Site Access] Exclude Specific PageThis is specifically answered in the FAQ.
add_filter( 'restricted_site_access_is_restricted', 'my_rsa_feed_override’, 10, 2 ); function my_rsa_feed_override( $is_restricted, $wp ) { // check query variables to see if this is the feed if ( ! empty( $wp->query_vars['feed'] ) ) { $is_restricted = false; } return $is_restricted; }
You can use something like get_post() to get the current post, and add logic like “if the page ID equals” or “if the post_name is,” etc. If you just want to blacklist a certain page, you can use get_the_ID().
Forum: Reviews
In reply to: [Restricted Site Access] Locked Me OutShould not be possible to lock yourself out.
Code can only do what you tell it to do. If it doesn’t see your IP address as whitelisted, it is going to do what it is supposed to. You can’t blame ISP/caching issues on code, and a 1-star review is rather scathing considering that… it works.
SP_REQUEST_URL
is generally used on sites that use ServerPilot. It allows you to point and use multiple domains on a WordPress instance (defining them as theHTTP_HOST
request header). Without this, WordPress will simply redirect to the site’ssite_url
in the database. It is only useful if you wish to point multiple domains to the same WordPress instance – If you don’t need this capability, you can simply change (or comment out)WP_SITEURL
andWP_HOME
values to your web site’s URL (ex: https://mycompanydomain.com).This is how it’s usually defined:
define( 'SP_REQUEST_URL', ($_SERVER['HTTPS'] ? 'https://' : 'https://') . $_SERVER['HTTP_HOST'] ); define( 'WP_SITEURL', SP_REQUEST_URL ); define( 'WP_HOME', SP_REQUEST_URL );
If you don’t need this capability, you could change it to something like:
define( 'WP_SITEURL', 'https://mycompanydomain.com' ); define( 'WP_HOME', 'https://mycompanydomain.com' );
If you wish to control the site’s URL via WP Admin, you can simply remove or comment out the above lines.
Forum: Plugins
In reply to: [Safe SVG] Width/height now set as attributesCurious – Why do you need width/height attributes? Can you do it with CSS instead?
Forum: Reviews
In reply to: [My Sites Sort and Filter] Great solutionThanks mate! I’m glad that it works well for you.
Forum: Plugins
In reply to: [Schema & Structured Data for WP & AMP] Add AudioObject Type?I just updated to the new version and see that it was added. Thank you!! It’s working well.
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Nothing Seems to ChangeI fixed the image issue, though I had to set the logo to Fixed rather than Relative else I got the console error.
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Nothing Seems to ChangeI solved this issue by installing the AMP Accelerated Mobile Page Reader extension for Chrome, however, my images are not appearing (?). I’m getting the console error: “template-impl.js:164 – Expected height to be available”
I tried using both an SVG and PNG in General > Branding > Logo.
Forum: Plugins
In reply to: [Safe SVG] Historical minimum PHP versionThough Daryll may require 5.6+ for issue support, I just tried the following versions of Safe SVG with a fresh copy of WordPress 4.9.8 on PHP 5.4.45 and they all worked and didn’t throw any errors or warnings: 1.3.1, 1.6.1, 1.7.1, 1.8.0
Forum: Plugins
In reply to: [Gutenberg] Permanent linksI am experiencing the same issue since updating to 4.4.0.
- WordPress 4.9.8
- PHP 7.2
- Gutenberg Plugin 4.4.0
- Theme: Morning Time