ARSGeek
Forum Replies Created
-
Thank you for your response. I’ve created a test profile and have added the username field to the form. How would I go about getting the username to automatically pasting into the hidden field?
Yes, I have the default pages created.
Forum: Plugins
In reply to: [Custom Post Type UI] Setting Article Primary CategoryMichael, Thank you. Setting the Taxonomy’s Hierarchical to “True” fixed it. Many Thanks!
Forum: Plugins
In reply to: [Custom Post Type UI] Setting Article Primary CategoryArticle Categories Taxonomy
function cptui_register_my_taxes_article_category() {
/** * Taxonomy: Article Categories. */ $labels = [ "name" => esc_html__( "Article Categories", "Avada" ), "singular_name" => esc_html__( "Article Category", "Avada" ), ]; $args = [ "label" => esc_html__( "Article Categories", "Avada" ), "labels" => $labels, "public" => true, "publicly_queryable" => true, "hierarchical" => false, "show_ui" => true, "show_in_menu" => true, "show_in_nav_menus" => true, "query_var" => true, "rewrite" => [ 'slug' => 'article-category', 'with_front' => true, 'hierarchical' => true, ], "show_admin_column" => false, "show_in_rest" => true, "show_tagcloud" => false, "rest_base" => "article-category", "rest_controller_class" => "WP_REST_Terms_Controller", "rest_namespace" => "wp/v2", "show_in_quick_edit" => false, "sort" => false, "show_in_graphql" => false, ]; register_taxonomy( "article-category", [ "mark_category" ], $args );
}
add_action( ‘init’, ‘cptui_register_my_taxes_article_category’ );Forum: Plugins
In reply to: [Custom Post Type UI] Setting Article Primary CategoryAll Custom Post Type UI Taxonomies
function cptui_register_my_taxes() {
/** * Taxonomy: Article Categories. */ $labels = [ "name" => esc_html__( "Article Categories", "Avada" ), "singular_name" => esc_html__( "Article Category", "Avada" ), ]; $args = [ "label" => esc_html__( "Article Categories", "Avada" ), "labels" => $labels, "public" => true, "publicly_queryable" => true, "hierarchical" => false, "show_ui" => true, "show_in_menu" => true, "show_in_nav_menus" => true, "query_var" => true, "rewrite" => [ 'slug' => 'article-category', 'with_front' => true, 'hierarchical' => true, ], "show_admin_column" => false, "show_in_rest" => true, "show_tagcloud" => false, "rest_base" => "article-category", "rest_controller_class" => "WP_REST_Terms_Controller", "rest_namespace" => "wp/v2", "show_in_quick_edit" => false, "sort" => false, "show_in_graphql" => false, ]; register_taxonomy( "article-category", [ "mark_category" ], $args );
}
add_action( ‘init’, ‘cptui_register_my_taxes’ );Forum: Plugins
In reply to: [Custom Post Type UI] Setting Article Primary CategoryHere is the Article Post Type code:
function cptui_register_my_cpts_mark_category() {
/** * Post Type: Articles. */ $labels = [ "name" => esc_html__( "Articles", "Avada" ), "singular_name" => esc_html__( "Article", "Avada" ), ]; $args = [ "label" => esc_html__( "Articles", "Avada" ), "labels" => $labels, "description" => "", "public" => true, "publicly_queryable" => true, "show_ui" => true, "show_in_rest" => true, "rest_base" => "", "rest_controller_class" => "WP_REST_Posts_Controller", "rest_namespace" => "wp/v2", "has_archive" => false, "show_in_menu" => true, "show_in_nav_menus" => true, "delete_with_user" => false, "exclude_from_search" => false, "capability_type" => "post", "map_meta_cap" => true, "hierarchical" => true, "can_export" => false, "rewrite" => [ "slug" => "article", "with_front" => true ], "query_var" => true, "supports" => [ "title", "editor", "thumbnail", "excerpt", "trackbacks", "comments", "revisions", "author", "page-attributes" ], "taxonomies" => [ "article-category" ], "show_in_graphql" => false, ]; register_post_type( "mark_category", $args );
}
add_action( ‘init’, ‘cptui_register_my_cpts_mark_category’ );
Forum: Plugins
In reply to: [Custom Post Type UI] Setting Article Primary CategoryHi Michael, Thank you for your reply. The Primary Category option is available if I am creating a default WordPress Post. But when I am creating an CPT UI Article, it is not available. Do you think that possibly Yoast is not recognizing the CPT custom article type?
See screenshot below. The left is a standard WP Post, the right is a CPT UI Article. https://ibb.co/2K0yXyV
Forum: Plugins
In reply to: [Custom Post Type UI] Migrated from old CP plugin into CPT UIHi Michael, You were correct. I was trying to rewrite the slug for the Taxonomy instead of the Post Type. Once I did it the correct way, the slug changed as desired. I really appreciate your input, it saved me a lot of time & frustration. Thank you!
Forum: Plugins
In reply to: [Custom Post Type UI] Migrated from old CP plugin into CPT UIHi Michael, That is what I thought would work as well. But doing that kills the above mentioned page as well as other archive pages.
Hi @wfpeter
Thank you for your response. You were correct, I needed to switch the setting to “Use Cloudflare….” Once I did that it showed my correct IP address. That solved our issues.
Forum: Plugins
In reply to: [WPS Hide Login] WPS Hide Login et WP 6.2However, WPS Hide Login is not compatible with WordPress 6.2.2. Also, it shows only compatible to WP 6.1.3 on the WordPress,org page.
I’m running WP 6.2.2 and had to disable the plugin via FTP to regain access back to my sight.
Forum: Plugins
In reply to: [Contact Form 7] Form not working on AndroidWe did deactivate all plugins except CF7 & Classic Editor. As well as switched to the default Twenty Twenty-Two theme. Nothing worked.
On a last hunch I exported a copy of the site and installed it on my own hosting environment (A2 Hosting). The CF7 form works perfectly in that environment.
The root cause is GoDaddy.
Forum: Plugins
In reply to: [W3 Total Cache] Purge IssueThank you. That clarifies it for me. The owner of the website was using the single page “Purge Cache” button and was not seeing the changes he had made. I’m certain now it is because Cloudflare was serving an old version of the page. I will direct him to use the “Purge All Caches” button in the admin menu bar.
Forum: Plugins
In reply to: [W3 Total Cache] Purge IssueMarko, thank you for your reply. I have the Cloudflare extension enabled as well. If I purge a single post from the page cache, does it also purge it from CF?
Forum: Plugins
In reply to: [RestroPress - Online Food Ordering System] Date Field NeededCould this add-on be modified to disallow orders for dates less than 7 days in the future.
Example: today is Saturday the 21st, I want to make an order for pick-up. When selecting the date, the earliest date available for pick-up is next Saturday the 28th.(7 days in the future).