Cactushead
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Post Type UI] archive pagination does not workOK, after literally days trying everything – for some reason, it now works using the default pagination.
I commented out the custom pagination (as I tried before) and suddenly it works this time – quite bizarre.
Thanks for your help and suggestions it was much appreciated.UPDATE – now I tried my custom pagination again and it now works too!!!!!!
No idea what is happening or why it did not work before but hey, I’ll take it.- This reply was modified 6 years, 7 months ago by Cactushead.
- This reply was modified 6 years, 7 months ago by Cactushead.
Forum: Plugins
In reply to: [Custom Post Type UI] archive pagination does not workThat is what I thought I should do – I have “has archive” set to true
function cptui_register_my_cpts_video() { /** * Post Type: Videos. */ $labels = array( "name" => __( "Videos", "custom-post-type-ui" ), "singular_name" => __( "Video", "custom-post-type-ui" ), ); $args = array( "label" => __( "Videos", "custom-post-type-ui" ), "labels" => $labels, "description" => "", "public" => true, "publicly_queryable" => true, "show_ui" => true, "delete_with_user" => false, "show_in_rest" => true, "rest_base" => "", "rest_controller_class" => "WP_REST_Posts_Controller", "has_archive" => true, "show_in_menu" => true, "show_in_nav_menus" => true, "exclude_from_search" => false, "capability_type" => "post", "map_meta_cap" => true, "hierarchical" => false, "rewrite" => array( "slug" => "video", "with_front" => true ), "query_var" => true, "menu_position" => 5, "menu_icon" => "dashicons-video-alt3", "supports" => array( "title", "editor", "thumbnail", "excerpt", "revisions", "author" ), "taxonomies" => array( "category", "post_tag" ), ); register_post_type( "video", $args ); } add_action( 'init', 'cptui_register_my_cpts_video' );Thanks for the link I’ll check it out
Thanks guys, all seems to work now.
I’ve unset this feature in AIO WP Security and instead I have additionally installed “Rename wp-login.php” by Janneke Van Dorpe which offers the similar functionality.
This now means that I can set my login page to whatever I want as well as having full nextgen gallery functionality.
Thanks for all your replies
OK, it was not any of the firewall rules but it seems like it was the “Enable Rename Login Page Feature”
Any ideas on how to keep this and not affect Nextgen Gallery’s functionality?
OK, I will try that tomorrow (it’s late here, need some sleep)
Any particular advanced features you suggest – or just everything?You assistance is most appreciated.
OK, just tried that but still the same problem.
Thanks
Hey mbrsolution
The site is not live at the moment but the first thing I tried was the preventing hotlinks option but it didn’t seem to change anything.
I should also correct my initial statement about what now happens, it tries to reload the page with the selected gallery but it goes to the page not found instead.
I have the dump of most of the features I have set here (only omitted secret keys and email stuff)
aiowps_enable_login_lockdown = 1 aiowps_allow_unlock_requests = aiowps_max_login_attempts = 3 aiowps_retry_time_period = 5 aiowps_lockout_time_length = 10 aiowps_enable_email_notify = 1 aiowps_enable_manual_registration_approval = 1 aiowps_enable_registration_page_captcha = 1 aiowps_disable_file_editing = 1 aiowps_prevent_default_wp_file_access = 1 aiowps_enable_basic_firewall = 1 aiowps_enable_pingback_firewall = aiowps_disable_index_views = 1 aiowps_disable_trace_and_track = 1 aiowps_forbid_proxy_comments = 1 aiowps_deny_bad_query_strings = 1 aiowps_advanced_char_string_filter = 1 aiowps_enable_5g_firewall = 1 aiowps_block_fake_googlebots = 1 aiowps_prevent_hotlinking = 1 aiowps_enable_404_logging = 1 aiowps_enable_404_IP_lockout = 1 aiowps_404_lockout_time_length = 15 aiowps_enable_rename_login_page = 1 aiowps_enable_brute_force_attack_prevention = aiowps_login_page_slug = mysecretloginslug aiowps_enable_login_captcha = aiowps_enable_lost_password_captcha = 1 aiowps_enable_comment_captcha = 1 aiowps_enable_spambot_blocking = 1 aiowps_enable_automated_fcd_scan = 1 aiowps_fcd_scan_frequency = 1 aiowps_fcd_scan_interval = 2 aiowps_fcd_exclude_filetypes = aiowps_fcd_exclude_files = aiowps_send_fcd_scan_email = aiowps_remove_wp_generator_meta_info = aiowps_enable_forced_logout = aiowps_logout_time_period = 60 aiowps_enable_whitelisting = aiowps_allowed_ip_addresses = aiowps_enable_random_prefix = aiowps_enable_automated_backups = aiowps_db_backup_frequency = 4 aiowps_db_backup_interval = 2 aiowps_backup_files_stored = 2 aiowps_send_backup_email_address = aiowps_system_log_file = error_log aiowps_enable_blacklisting = aiowps_banned_ip_addresses = aiowps_brute_force_secret_word = aiowps_cookie_based_brute_force_redirect_url = http = \/\/127.0.0.1 aiowps_brute_force_attack_prevention_pw_protected_exception = aiowps_brute_force_attack_prevention_ajax_exception = aiowps_site_lockout = aiowps_site_lockout_msg = aiowps_fcds_change_detected = false aiowps_copy_protection =Would be nice to have the option for backups to be both emailed and saved.
i.e. You could set it up to have an email backup every 3 days and a backup save every week.Forum: Plugins
In reply to: [WP Lightbox 2] Next Link Animation Error?Hey Pankaj
Thanks for your response on this matter.
I have since looked at the styling in lightbox.min.css and found that the #nextLink required a little addition to fix this problem.The next link’s image needed to be set for the starting position of the animation to be correct – however I needed to set the image itself to “none” so that it is not displayed all the time.
WAS
#nextLink{right:0;float:right;}NOW
#nextLink{right:0;float:right;background:none right 0% no-repeat;}My site is not yet live as I need to iron out the bugs – so now that is one less 😉
I’m not sure if anyone else has experienced this but the “fix” is simple.
I should point out that I did deactivate the plugin and delete it, followed by a re-install but I found this error still occurred, so looked into the CSS code and found the solution.