ranioli
Forum Replies Created
-
I had enabled both actually. Even though the description is the same for both, I thought there may be something in 5G that’s not there in 6G and thus both options are given. Perhaps that could be made into radio buttons so people can select just one.
Also, I should clarify my issue in case it helps others, I wish I could edit my earlier comments which I wrote in a hurry:
The redirect was not actually the problem as it turns out, TML was trying to redirect after the login as it should, but I kept getting a 403 Forbidden error. The link did work ,however, when I removed the redirect query parameter. Eventually googling led me to believe that the problem was in .htaccess which got me looking into the firewall rules. After disabling legacy 5G, this issue has been resolved and it now redirects correctly.
update: disabling legacy 5G Firewall Protection fixed the login redirect issue
Ok, I give up – I added the code above, which did not work because there is no function tml_set_data, and fixing it did not work either, so I am back to where I was – removed all that and trying to figure out what’s wrong, but I think it may not be this problem anymore, but another thing causing the redirect.
Ok, it’s going to the login page but when logging in it tries to redirect to wp-admin – so I take that back. (I don’t see an option to delete my comment).
I’m using TML 6.4.16 and just enabling the rename login page works – silly me did not read the full thread and traced the full code after disabling the aiowps login_init action, and arrived at the same solution, but I have no resulting issues with the login page as mentioned by toddcav – it still uses the themed login page.
Forum: Plugins
In reply to: [Ultimate Fields] Bug: Invalid taxonomy error for existing taxonomyHi,
please incorporate this bug fix in the next update. I updated the plugin and had to make the change once again. If I had not documented it here I would have been searching for the fix all over again.
Forum: Plugins
In reply to: [Ultimate Post Types] Slug change results in invalid taxonomy errorIt is used by post type Plants:
<?php /** * Ultimate Post Types Export * * This code will setup a post type called Plants. * The register_plants_post_type function does not require either Ultimate Fields or Ultimate Post Types * to be installed or enabled. * * Add this code directly to you functions.php file or a file that's included in it. * * For more information, please visit https://ultimate-fields.com/ */ add_action( 'init', 'register_plants_post_type' ); function register_plants_post_type() { register_post_type( 'plants', array ( 'capability_type' => 'post', 'query_var' => true, 'supports' => array ( 0 => 'title', 1 => 'editor', 2 => 'author', 3 => 'thumbnail', 4 => 'excerpt', 5 => 'comments', 6 => 'revisions', ), 'hierarchical' => false, 'public' => true, 'show_in_menu' => true, 'show_ui' => true, 'show_in_admin_bar' => true, 'show_in_nav_menus' => true, 'publicly_queryable' => true, 'exclude_from_search' => false, 'has_archive' => true, 'can_export' => true, 'labels' => array ( 'name' => 'Plants', 'singular_name' => 'Plant', 'add_new' => 'Add Plant', 'add_new_item' => 'Add Plant', 'edit_item' => 'Edit Plant', 'new_item' => 'New Plant', 'view_item' => 'View Plant', 'search_items' => 'Search Plants', 'not_found' => 'No Plants found', 'not_found_in_trash' => 'No Plants found in Trash', 'parent_item_colon' => 'Parent Plant:', 'menu_name' => 'Plants', ), ) ); } /** * The code below changes the template for the Plants post type. * * You can omit this function if you've already created a single-plants.php template in your theme. */ add_action( 'template_redirect', 'change_plants_template' ); function change_plants_template() { # The template does not need to be changed unless a singular Plants post is being viewed. if( ! is_singular( 'plants' ) ) { return; } locate_template( '', true, false ); exit; } ?>
Forum: Plugins
In reply to: [Ultimate Post Types] Slug change results in invalid taxonomy errorIt works ?? thanks
The exported code is below, I notice it does not specify a slug.
<?php /** * Ultimate Post Types Export * * This code will setup a taxonomy called Months. * The register_month_taxonomy function does not require either Ultimate Fields or Ultimate Post Types * to be installed or enabled. * * Add this code directly to you functions.php file or a file that's included in it. * * For more information, please visit https://ultimate-fields.com/ */ add_action( 'init', 'register_month_taxonomy' ); function register_month_taxonomy() { register_taxonomy( 'month', array( 'plants' ), array ( 'labels' => array ( 'name' => 'Months', 'singular_name' => 'Month', 'popular_items' => 'Popular Months', 'all_items' => 'All Months', 'update_item' => 'Update Month', 'search_items' => 'Search Months', 'edit_item' => 'Edit Month', 'add_new_item' => 'Add New Month', 'new_item_name' => 'New Month Name', 'separate_items_with_commas' => 'Separate Months with commas', 'add_or_remove_items' => 'Add or remove Months', 'choose_from_most_used' => 'Choose from the most used Months', 'not_found' => 'No Months found.', 'menu_name' => 'Months', ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_nav_menus' => false, 'show_admin_column' => false, ) ); } ?>
Forum: Plugins
In reply to: [Ultimate Post Types] Slug change results in invalid taxonomy errorHi, I’m at e moment forced to work from my ipad so downloading files and uploading files is not possible, or I don’t know how. But if you can give me the changed lines here I can copy paste them. My next reply may come tomorrow as it is late here. But I really appreciate your fast response. ??
Forum: Plugins
In reply to: [Ultimate Post Types] Slug change results in invalid taxonomy errorYes I am using UPT but I can’t export it I think, cos the site does not load, it just shows me the error.
Forum: Plugins
In reply to: [Ultimate Post Types] Slug change results in invalid taxonomy errorHi,
This is the error:
UF_Field_Select_Term: Invalid taxonomy! Please check if you’ve spelled the name of the taxonomy correctly and that the taxonomy is already registered!
Regards,
RanioliForum: Plugins
In reply to: [Ultimate Fields] Bug: Invalid taxonomy error for existing taxonomyHi,
The problem was with the order of things. Changing the last line of setup-containers.php in the settings folder to
# Do it
add_action (‘init’, ‘uf_setup_containers’, 10);seems to fix it.
Forum: Plugins
In reply to: [Ultimate Fields] Error: UF_Field_Select_TermI created a taxonomy for Months, so that I could make the selection multilingual. I created it with ultimate post types and selected my custom post type to attach it to. But when I created the fields for my container using the new taxonomy (after adding terms) and tried to save the container, I got the above mentioned error. I am also getting it when I try to go to taxonomies under ultimate post types. I don’t want to delete the taxonomy. What should I do? My container is also attached to the same post type as the taxonomy.
Forum: Plugins
In reply to: [Ultimate Post Types] Related PostsWow, this is excellent, exactly what I need ?? thanks for the quick reply and of course such a great plugin ??