DanInManchester
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: phar extension supportI just found this which suggests Phar module is installed :
https://wordpress.com/support/php-environment/
I’ll try to do a test later this week.Forum: Developing with WordPress
In reply to: phar extension supportthanks Yui.
the plugin is packaged as normal, its just part of the code is in a phar package and signed.
Is phar generally not supported on PHP hosting, in particular managed wordpress hosting? It appears their goal with using it was security.
Their aim is to get away from self host WordPress to something more “off the shelf” / managed. In itself pretty easy, but the phar part is not something I have come across.Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Any way to have custom slugs in settings?Assuming this is something standard in wordpress that we could pick up, then I think it would be possible. It would have to be something I investigate and see how easy it might be to change.
What I dont fully understand is where the slug is coming from.
You say your custom post slug is “ag_county_post” so a I assume this is assigned to the post type.
So where does “/services/home-care”, then come from?
Forum: Plugins
In reply to: [Virtual Robots.txt] Overwrites other robot entriesI have 2 or 3 plugins that have nothing directly to do with the robot.txt but output some key urls to the robots file.
I was hoping I could use your plugin to add to my robots file, but it seems you just overwrite everything.
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Sitemap Not Updating?It’s possible that google is a little behind.
The ping happens once a day if changes are detected since the last update.
If changes are detected the plugin will ping google.
Google will then pick up your sitemap again at its convenience.
At the bottom of the settings page you should see a “log” section that includes the latest actions which will most likely be the ping outcomes.
Forum: Plugins
In reply to: [Title Remover] Warning: Missing argument 2 for wptr_supress_title()You need to find “wptr_supress_title”
function wptr_supress_title($title, $post_id)
so I changed to this :
function wptr_supress_title($title, $post_id = null)
Forum: Plugins
In reply to: [Title Remover] Warning: Missing argument 2 for wptr_supress_title()I fixed it for my version.
You need to make the post_id null by defaultfunction wptr_supress_title($title, $post_id = null) {
global $id;
$hide_title = get_post_meta( $post_id, ‘wptr_hide_title’, true );
if (!is_admin() && is_singular() && intval($hide_title) && in_the_loop())
return ”;
return $title;
}<