Sorry, cannot really understand what you mean, also can you put the code inside the code tags here? (or using backticks)
Also, where do you place this code?
Thread Starter
Tion
(@tion)
Thank you reply..
i want to login-check in plug-in.
for example..
i checking login in Text of Metabox-plugin
is this possible?
To understand better what you want:
– You have a meta in your footer that allows people to login;
– You want to hide that login link when the person is logged in.
Did I understand you correctly?
Thread Starter
Tion
(@tion)
ElectricFeet// Thank you reply^^
yes! i want that.
i know way in php, but i don’t know way in html.
that is html-code in MetaBox-plugin on Theme.
ex)
in HTML code (only metaBox-plugin)… not! PHP
[ isLoginCheck ]{
<p>〈a href=”login.php”〉Log in〈/a〉</p>
}
[ isLogoutCheck ]{
<p>〈a href=”logout.php”〉Log Out〈/a〉</p>
}
Hmm, rather than coding this yourself, I would use the WordPress functionality to do it.
You need the wp_loginout ( ) function.
Thread Starter
Tion
(@tion)
ElectricFeet// Thank you reply^^
I have PHP code that function well aware of how to use.
Now you could not figure out the exact meaning of what I want.
I know the PHP code too.
I want to know is , PHP code is not a widget and I would like to know within the HTML code .
Because the PHP code to write directly to the file , so the theme is updated whenever records are cleared.
Even so, by creating a child theme to make it look so uncomfortable .
So I simply log in using the meta box plugin will want to check .
HTML to PHP , not simply check whether the sign is asking .
English too stuffy to turn the rest of the Google Translator produced and this article should not finish that you understand HTML code, just log in , but tell us whether the check .
I know the HTML code to nine minutes of the session , because you could not know this , but it is by any chance nine minutes WORDPRESS Self- inquiry doelsudo want to , paying outrageously .
Thank you.
Tion you want to put php code in a widget?
Use some plug-in.