watermelonkid
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Post Type UI] mandatory taxonomyI believe you could do that using Advanced Custom Fields. Just create a taxonomy field, set it to connect to your already existing taxonomy, select the option to have it show above the content field so it’s right there for them to select, and make the field required. Haven’t tested, but I’ve done that in the past I believe.
- This reply was modified 6 years ago by watermelonkid.
Forum: Themes and Templates
In reply to: [Astra] Custom post template?Astra is such an awesome theme, but the support/documentation for CPTs is surprisingly thin.
My use case: what is the correct way to create a custom loop for the single page of a custom post type?
I can of course duplicate single-layout.php from template-parts/single, but that overrides all singles. I want to create a custom single-layout.php for just a specific custom post type. I cannot figure out a non-hacky way of doing it.
Suggestions?
Forum: Plugins
In reply to: [Custom Post Type UI] How to add dash(-) to custom post type slug?Michael, while this makes sense in relation to URL slugs, it causes problems for a particular case: pre-existing CPTs with hyphens for the slugs. In my case, I’m trying to clean up a site and move all the CPTs/CTs into CPT UI. This is easy to do for all the CPTS/CTs that don’t use hyphens, but there are two pre-existing instances that use hyphens.
Because of your forcing of underscores, there is no way for me to add these to CPT UI that I can see…unless there’s a workaround? It just doesn’t seem like it’s the business/function of a CPT plugin to force me to name my CPTs using a certain convention. Even so, while I generally prefer hyphens, I would switch to underscores if there was a way for me to do so. (Note: again, I am not talking about the URL slug. I’m talking about the actual slug for a CPT/CT.)
Am I missing something here? I don’t actually see the benefit of forcing people to use underscores.
- This reply was modified 7 years, 7 months ago by watermelonkid.
- This reply was modified 7 years, 7 months ago by watermelonkid.
- This reply was modified 7 years, 7 months ago by watermelonkid.
Forum: Plugins
In reply to: [The Events Calendar: Category Colors] Don’t Understand WPML Fix/ApplicationYeah, there are no longer categories assigned because I deleted all the categories out before using the filter so I could verify it was working. Doing so seems to have unassigned all the categories on this dev site.
I can definitely use a filter or template override, but we actually tried a fix like this at one point and it creates all sorts of UX issues to not have the categories split up by language. I might just have to try some kind of dirty/ugly CSS hack to make this work I suppose. Thanks for your support.
Forum: Plugins
In reply to: [The Events Calendar: Category Colors] Don’t Understand WPML Fix/ApplicationSorry for delay. Lots of balls in the air.
Added your development branch (5.3.0.2). No success so far. I have tried removing all the cats and then adding them via the filter. Obviously this works in that we can assign colors to each cat in the English section. The problem is that then ALL these categories show up on the English version of the page…and none of them show up when you flip to the Spanish version (note filter buttons above calendar)
English Month View
Spanish Month ViewSo because of this, the categories MUST be created separately from what I can tell, unless there is something I’m not understanding?
Forum: Plugins
In reply to: [Download Monitor] GF Lock Add-On – Title Merge Tag instead of File IDHey everyone…in the meantime, I figured out a solution to this, so I’m posting in case useful to everyone else. I wasn’t aware you could use shortcodes in GF confirmations, so I combined the given merge tag’s ID value with the download monitor shortcode to provide the title:
[download_data id=”{Download Monitor – Gravity Forms Lock:5}” data=”title”]
Great success.
Forum: Plugins
In reply to: [The Events Calendar: Category Colors] Don’t Understand WPML Fix/ApplicationHey Andy,
Yes, if I add new categories via the filter, they show up there. I can also delete them using teccc_delete_terms().
So maybe this is the issue: we have English and Spanish categories already set up. Grabs:
http://micasa.www75-98-173-71.a2hosted.com/english.png
http://micasa.www75-98-173-71.a2hosted.com/spanish.pngWe don’t understand why saving the settings for one undoes the settings for the other. We don’t need to ADD the Spanish categories–they already exist and are being used in calendar.
Forum: Plugins
In reply to: [The Events Calendar: Category Colors] Don’t Understand WPML Fix/Applicationfunctions.php above all our other theme customizations
Which new categories are you referring to–the categories already exist, both in English and Spanish. (?) Also, why would I want to delete them?
Forum: Plugins
In reply to: [The Events Calendar: Category Colors] Don’t Understand WPML Fix/ApplicationForum: Plugins
In reply to: [The Events Calendar] Sticky Event Hook? Featured Event Hook?Thanks, Ed. Very familiar with post_class(). It doesn’t add a class for sticky posts. Thanks anyhow.
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Error When Using ShortcodeThanks, Sunny. We did all that before posting this though, unfortunately, so nothing to do there. I am posting this to the get-help link now.
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Error When Using ShortcodeSunny,
Thanks for the recommendations.
- As noted in original post, we already checked for plugin conflicts before posting this–nope.
- I switched to Twenty Seventeen and the same error is occurring in Twenty Seventeen as well. I also ran Twenty Seventeen with no other plugins, and the error still occurred.
- We’re using the shortcode because this is on the home page, not the full Events page itself, so a shortcode must be used on the home page.
- Turning on Strict compatibility… had no effect.
- Turning on Use frontend… still had an error, but it changed to:
Something went wrong while fetching events. The request status is: 200 The error thrown was: Error: jQuery20010005566305509324132_1525806605018 was not calledSo, please advise!
- This reply was modified 8 years ago by watermelonkid.
- This reply was modified 8 years ago by watermelonkid.
Forum: Plugins
In reply to: [Product Subtitle For WooCommerce] Can not open settingsI’m having the same issue. Can’t view settings page.
Forum: Themes and Templates
In reply to: [Storefront] How to remove “Shop by Category” etc. from homepageWhat is the correct way to remove the title *just* for the home page?
add_filter( 'storefront_featured_products_args', 'custom_storefront_product_featured_title'); // Frontpage Featured Products Title function custom_storefront_product_featured_title( $args ) { $args['title'] = __( 'New Featured Products Title Here', 'storefront' ); return $args; }Similar to this, but removing the title all together. I could obviously do it with CSS or js, but I’d like to essentially remove the section-title all together via filter.
Cool man. (If you use the div container type, then you have list items in your div though, I noticed.) Thanks for responding. I’m sure there are bigger fish to fry!