Results 1 to 3 of 3

Thread: Customize theme

  1. #1
    Thread Starter
    Amateur kappa275's Avatar
    Join Date
    Aug 2011
    Location
    Italy
    Posts
    13
    Thanks
    2
    Thanked 0 Times in 0 Posts

    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>

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,006
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts
    What theme are you using it then.
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    Thread Starter
    Amateur kappa275's Avatar
    Join Date
    Aug 2011
    Location
    Italy
    Posts
    13
    Thanks
    2
    Thanked 0 Times in 0 Posts

    i use classi 3.1.4

    i use classipress 3.1.4
    thank's

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Customize ClassiPress through Child Theme
    By pfadmin in forum Report ClassiPress Bugs
    Replies: 30
    Last Post: September 5th, 2011, 01:22 PM
  2. How to customize search?
    By iman_shani in forum ClassiPress General Discussion
    Replies: 1
    Last Post: May 2nd, 2011, 07:49 PM