dauidus
Forum Replies Created
-
Nevermind… you can’t really pass a javascript variable to php, so this won’t work. I came up with a work-around.
Thanks for the seriously great support answering my original question! ??
This is brilliant! Thank you so much!!
One last thing – is there a way, without iterating through all those spans with javascript, to determine if a page/post id has “tsf-seo-bar-good” for all 6 spans? I’d like to simply display a checkmark if the on-page SEO stuff is set properly for a page.
I’m almost sure this will be a straight-up javascript hack… all good though.
Keep doin’ what you’re doin’!
Forum: Plugins
In reply to: [Requirements Checklist] Is the plugin still up to date (safe)?Yes, this plugin is outdated. But, it has been tested as secure. It doesn’t work with the new Gutenberg editor – but, as long as you’re still using the Classic editor, you should be good to go.
That is all. Thanks!
Alright – think I’ve figured it out. Need to modify output in the ScriptsLoader.js file, in the LoadToFooter function.
My other option seems to be to do this with an iframe popup… that way, I can create a custom post type called vehicles and create my custom template there… then just load that into a popup. But, I feel it would be confusing (and kinda hack-ish) to make my client add a popup AND a vehicle for every car. I’m looking to streamline this as much as possible.
Nope, just a content popup. We’re creating a car rental site, and each HTML popup represents a vehicle. When our client eventually goes to edit any HTML popup, they won’t see the WYSIWYG editor… instead, they’ll see a bunch of custom fields with MPG, passenger count, fuel economy, etc. I have all these setup fine.
When a user clicks that popup (I’ve written a custom query that goes through all the popups and displays them in a template, each as a link to the popup itself) I’d like my custom fields to display formatted within the popup – so I need to be able to edit the output of the HTML popup type.
I’ve got everything setup and working just fine, but can’t determine where I need to modify code to display my custom fields. I’m used to doing this type of customization with template files for each custom post type, but since you’re loading the plugin content with js and a php function instead, I’m getting a bit stuck. I can provide you with login credentials to view what I’m doing, if you wish.
Really, I just need to know how to modify the output of an HTML popup.
Thanks!
I’d like to display custom fields for all my HTML popups.
Thanks!
Oh, nevermind… I see how you’re handling the data here. I’ll need to extend a function to add my custom fields. I guess it won’t be just a simple template file, then.
Forum: Plugins
In reply to: [Groups] Get list of all groups added to a postSorry to bug… can you please point me in the right direction here? I’ve looked through the support forums here and haven’t seen any requests like this one.
Thanks!
Forum: Plugins
In reply to: [Groups] Get list of all groups added to a postThis is all I could find… in lib/access/class-groups-post-acess.php on line 644 – but
echo get_read_group_ids()
causes an error./** 645: * Returns a list of group IDs that grant read access to the post. 646: * 647: * @param int $post_id 648: * @return array of int, group IDs 649: */ 650: public static function get_read_group_ids( $post_id ) { 651: return get_post_meta( $post_id, self::POSTMETA_PREFIX . self::READ ); 652: }
Forum: Plugins
In reply to: [Requirements Checklist] Unset a post typeDavid,
Yes, this is the appropriate code to do what you want. In the future, I may add this as an option to the plugin itself. Thanks for sharing your answer!
I’m interested to know why you’d like to unset the post type… as a UX guy, I’m always interested to know the thought behind code decisions. Is merely not enabling requirements not enough? Adding a setting wouldn’t add much bloat at all… but I wonder if it is necessary.
And, thanks for the kind words.
-D
Forum: Plugins
In reply to: [Requirements Checklist] Error with custom TaxonomyOh, my… I do see that now. That’s not good. :-/
I have updated much of the plugin’s logic for handling taxonomies, and will do my best to get an email to you tomorrow with a working beta copy of the new version.
Please visit my site https://www.dauid.us/contact, and add a bug report for this plugin. That way, I can discreetly acquire your email address for sending you the updated version.
You’ll surely want to test it on a dev or staging site, as the code has not been fully tested for production site use.
-D
Forum: Plugins
In reply to: [Requirements Checklist] Translation for "or more"This has been implemented and will be available in the next update.
Forum: Plugins
In reply to: [Requirements Checklist] Support for quick editI will look into adding this functionality in the future. For now, you might search for a plugin that disables bulk publishing.
This feature request is being added to the “todo” list.
-D