Uendi
Forum Replies Created
-
I have got the settings almost done. However, I would like to know whether this free plugin is it available to do any Css adjustment and how to make the Relevanssi work with this plugin ?
Thanks.
Forum: Plugins
In reply to: [Rename wp-login.php] Not showing Custom 404 error pageFrankly, I have put that code for a test after I added in to functions.php :
[ Moderator Note: Please post code or markup snippets between backticks or use the code button. Or use pastebin.com instead. ]
add_action('init','custom_login'); function custom_login(){ global $pagenow; if( 'wp-login.php' == $pagenow ) { wp_redirect('home url(), 404'); exit(); } }I notice that the visitor unable to register and login from my website. So I realise, I have missed out something but I do not know what is it.
As what you mention,
Since wp-login.php “doesn’t exist”, is_404() will be true.
if ( is_404() ) { wp_redirect( ... ); die; }And needed to replace the ‘…’ with the path to my custom 404.html.
So I’m thinking that the code will be:
add_action('init','custom_login'); function custom_login(){ global $pagenow; if( 'wp-login.php' == $pagenow ) { wp_redirect('home url(), 404'); if ( is_404() ) { wp_redirect( '404.html' ); die; } exit(); } }I have not given it for a test yet and I am not good in coding. Hope you don’t mind I am asking so much…
Thanks.
Forum: Plugins
In reply to: [Rename wp-login.php] Not showing Custom 404 error pageSorry, I do not know where to insert this line:
if ( is_404() ) { wp_redirect( … ); die; }
Thanks.
Where is flash forum ?
Thanks
Forum: Fixing WordPress
In reply to: Store page in Firefox looks weird but in chrome fineIs it available to ask you one question as I get from css validation, it shows me an error :
Parse Error }
Can I know what is the meaning for that ?
Thanks.
Forum: Plugins
In reply to: [Theme My Login] How To Change Page URL ?However, if I didn’t have any register page then how am I going to change them ? As my register page is on the top right corner of my webpage by adding this to the header.php:
<?php wp_register( $before, $after ); ?>
Thanks.
Forum: Fixing WordPress
In reply to: Store page in Firefox looks weird but in chrome fineHello Cyril Washbrook
Thank you so much for your advise. As I will check with the theme developer for the further advise. I have cleared some errors in which you have pointed out from viewing from the W3C validator.
However, from what I see the store page, is suppose to be quite Ok since there is still 1 error occurs. What I am confusing is the alignment show in firefox is different in chrome, is there any way I am able to change?
Thanks.
Forum: Fixing WordPress
In reply to: Store page in Firefox looks weird but in chrome fineForum: Fixing WordPress
In reply to: Store page in Firefox looks weird but in chrome fineMine is also FF 26.0 and chrome 32.0. However, for home page looks identical but some of the pages like store and category items looks different.
Thanks.
Forum: Fixing WordPress
In reply to: Store page in Firefox looks weird but in chrome fineForum: Plugins
In reply to: [Rename wp-login.php] Not showing Custom 404 error pageI added in this code :
add_action('init','custom_login'); function custom_login(){ global $pagenow; if( 'wp-login.php' == $pagenow ) { wp_redirect('home url(), 404'); exit(); } }[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
I have created a 404.html page so I am not using any 404.php at all.
Thanks.
Forum: Themes and Templates
In reply to: Webpage looks different in firefox, IE but fine in chromeFirst of all, thanks for your advise. Secondly, I have read through the markup errors, but I not really understand as how to alter them ? As I not really keen in HTML.
Thanks
Forum: Fixing WordPress
In reply to: WordPress 3.8.1 Update failed !Not yet. However, I will ask them.
Thank you very much.
Forum: Plugins
In reply to: [Rename wp-login.php] Not showing Custom 404 error pageNo, it is not showing my custom 404 error page. However, I have resolved it by adding a code to this functions.php.
Thanks a lot.