hafman
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-PageNavi] Front page with wp_query, page2 has same contentGee thanks Hafman
Forum: Plugins
In reply to: [WP-PageNavi] Front page with wp_query, page2 has same contentOk it’s sorted!
The information is here
https://codex.wordpress.org/Pagination#static_front_page
Quite a different use of ‘paged’ for the static front page (with a loop).if ( get_query_var( 'paged' ) ) { $paged = get_query_var( 'paged' ); } elseif ( get_query_var( 'page' ) ) { $paged = get_query_var( 'page' ); } else { $paged = 1; } /// and then 'paged' => ''. $paged, /// in the argsForum: Fixing WordPress
In reply to: links open RSS feed instead of postIt just happened to another wordpress site (same hosting) it uses 5.1.1
Forum: Fixing WordPress
In reply to: links open RSS feed instead of postThat is part of the issue, it happens very randomly. After many attempts to google the problem ‘wordpress Showing RSS feed instead of post’ led me to this stackexchange question and a 7 year old WordPress Forums thread 🙂
https://stackoverflow.com/questions/11298823/wordpress-is-randomly-returning-xml-rss-feed-instead-of-web-page- This reply was modified 7 years ago by hafman.
Forum: Fixing WordPress
In reply to: links open RSS feed instead of postThis one did it just now
http://hastingsonlinetimes.co.uk/hot-topics/health-matters/local-group-provides-support-for-child-abuse-victims
Strange thing is the RSS is for a much older postForum: Plugins
In reply to: [Another Mailchimp Widget] Fatal errorOk strangest thing, It did the same error and white screen but when i when back a page it cleared up and now appears to work fine.
Thanks for clarifying
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] Hide Gallery functionalityThis can be done by adding the following to functions.php
/* Hide the DFactory gallery stuff */ function remove_menus(){ remove_menu_page( 'edit.php?post_type=rl_gallery' ); } add_action( 'admin_menu', 'remove_menus' ); function my_custom_admin_head() { echo '<style> #rl-insert-modal-gallery-button {display: none !important;} </style>'; } add_action( 'admin_head', 'my_custom_admin_head' );And i agree it encroaches on the default WordPress gallery functionality a bit.
Forum: Plugins
In reply to: [Contact Form 7] JSON error when submitting formHow is this resolved? No answers apart from the basic ‘turn off your plugins one by one’
Having spent many wasted hours on the same issue i eventually narrowed it down to hosting. Ask them about mod_rewrite at the server level and explain your problem.
I made a test site on a server that i know doesn’t balk at CF7 with the exact same setup and it ‘just worked’.Hello Paul, yes i would like to test. Sorry for the delay in replying
– NickForum: Plugins
In reply to: [WP-Members Membership Plugin] Can’t apply css to “You are logged in” textThanks Chad that’s loads of help. I’m not sure yet what i want to do with it, just how to style the text if necessary. Much appreciated
Thanks Paul, I’ve deactivated Sucuri now as Shield does mostly the same without scaremongering and bothering me with emails. The login attempts have dropped off almost completely since yesterday.
this is where i found out the customizer.php
https://wordpress.org/support/topic/wps-hide-login-can-be-bypassed/- This reply was modified 8 years, 8 months ago by hafman. Reason: wrong URL entered
I have Sucuri security installed as well and it sends me emails whenever logins or attempts happen. There were 50 a day at one point but it’s a trickle now since renaming.
Forum: Fixing WordPress
In reply to: Updated to 4.8 Getting Failed to load content cssIt’s bad news if you want to use editor_style though. Who made the changes that led to this? Was anyone warned about it?
…