Answer the question
In order to leave comments, you need to log in
How to set class in php code?
} else {
$links['register'] = array(
'label' => esc_html__('Войти', 'woodmart'),
'url' => $account_link
);
Answer the question
In order to leave comments, you need to log in
Option 1:
<style>
.Log-In {
<!--Здесь прописать какие-либо стили-->
}
</style>
// Здесь был какой-то код..
} else {
$links['register'] = array(
'label' => esc_html__('<p class="Log-In">Войти</p>', 'woodmart'),
'url' => $account_link
);
// Здесь был какой-то код..
} else {
$links['register'] = array(
'label' => esc_html__('<p style="Здесь прописать какие-либо стили">Войти</p>', 'woodmart'),
'url' => $account_link
);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question