Customize theme
Hi
i've a code question
i woauld like that pefore ad post title in linsting loop, show mr. if
in form registraiton customer fild (Meta Name: is cp_mf) "mr. and miss. else miss.
i write this code but don't work someon can help me?
<h3><?php if
( get_option('cp_mf') == 'Dott.' )
the_permalink(); ?>
<?php if ( mb_strlen( get_the_title() ) >= 75 )
echo mb_substr( get_the_title(), 0, 75 ).'...';
else the_title($before = 'mr. ' ); ?></a></h3>
else
<?php if ( mb_strlen( get_the_title() ) >= 75 ) echo mb_substr( get_the_title(), 0, 75 ).'...'; else the_title($before = 'miss.' ); ?>
</a></h3>