Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Author Page Customization

  1. #1
    Thread Starter
    Veteran goodwash's Avatar
    Join Date
    Nov 2011
    Location
    Russian Federation
    Posts
    361
    Thanks
    0
    Thanked 79 Times in 73 Posts

    Author Page Customization

    This tutorial for users who want to modify ClassiPress Author Page. With this modification Author Page will be shown like Shop Page with images and short description.

    By default page looks as below



    The Author Page after small modification will be as below



    Example how it looks you can see HERE
    How to do it? Get start!

    You should do 4 simple steps:

    1 - Make backup for author.php file. This file you can find in root classipress directory.
    1 - Open file and find there code with these lines:
    <li>
    <a href=”<?php the_permalink() ?>”><?php the_title(); ?></a>
    </li>
    3 - Change these lines to code below:

    <!– Author Page customization by Shalena29 –>
    <div>
    <div style=”padding: 10px !important; width: 532px !important;”>
    <div>

    <?php if ( get_option(‘cp_ad_images’) == ‘yes’ ) cp_ad_loop_thumbnail(); ?>

    </div>
    <div style=”max-width: 420px !important;”>

    <?php appthemes_before_post_title(); ?>

    <h3><a href=”<?php the_permalink(); ?>”><?php if ( mb_strlen( get_the_title() ) >= 75 ) echo mb_substr( get_the_title(), 0, 75 ).’…’; else the_title(); ?></a></h3>

    <div></div>

    <?php //appthemes_after_post_title(); ?>

    <div></div>

    <?php appthemes_before_post_content(); ?>

    <p><?php $tcontent = strip_tags( get_the_content() ); if ( mb_strlen( $tcontent ) >= 165 ) echo mb_substr( $tcontent, 0, 165 ).’…’; else echo $tcontent; ?></p>
    <p><?php if ( get_option(‘cp_ad_stats_all’) == ‘yes’ ) appthemes_get_stats($post->ID); ?></p>
    <?php //appthemes_after_post_content(); ?>
    <div></div>
    </div>
    <div></div>

    </div><!– /post-block –>

    </div><!– /post-block-out –>
    <!– //Author Page customization by Shalena29 –>

    4 - Save and upload new author.php file. Enjoy it
    Attached Images Attached Images

  2. The Following User Says Thank You to goodwash For This Useful Post:

    jomarkosabel (August 7th, 2012)

  3. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,978
    Thanks
    170
    Thanked 3,407 Times in 3,278 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    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.

  4. #3
    Veteran ajamm's Avatar
    Join Date
    Nov 2011
    Location
    New Zealand
    Posts
    309
    Thanks
    26
    Thanked 32 Times in 29 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #4
    Veteran ajamm's Avatar
    Join Date
    Nov 2011
    Location
    New Zealand
    Posts
    309
    Thanks
    26
    Thanked 32 Times in 29 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #5
    Thread Starter
    Veteran goodwash's Avatar
    Join Date
    Nov 2011
    Location
    Russian Federation
    Posts
    361
    Thanks
    0
    Thanked 79 Times in 73 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #6
    douglas's Avatar
    Join Date
    Aug 2012
    Location
    Brazil
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #7
    Thread Starter
    Veteran goodwash's Avatar
    Join Date
    Nov 2011
    Location
    Russian Federation
    Posts
    361
    Thanks
    0
    Thanked 79 Times in 73 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  9. #8
    romeo's Avatar
    Join Date
    May 2012
    Location
    Germany
    Posts
    57
    Thanks
    15
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  10. #9
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,098
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

  11. #10
    Thread Starter
    Veteran goodwash's Avatar
    Join Date
    Nov 2011
    Location
    Russian Federation
    Posts
    361
    Thanks
    0
    Thanked 79 Times in 73 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  12. The Following 2 Users Say Thank You to goodwash For This Useful Post:

    ajamm (October 2nd, 2012), romeo (October 5th, 2012)

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Author Page Mod
    By chriswareham in forum ClassiPress General Discussion
    Replies: 1
    Last Post: May 26th, 2012, 05:43 PM
  2. customization of total number of coupons line at index page.
    By couponspicy in forum Report Clipper Bugs
    Replies: 1
    Last Post: January 25th, 2012, 03:08 AM
  3. [SOLVED] Author page sometimes returns oops page not found
    By areis in forum Report ClassiPress Bugs
    Replies: 12
    Last Post: June 18th, 2011, 11:34 AM
  4. classipress home page customization
    By mrao in forum ClassiPress General Discussion
    Replies: 6
    Last Post: February 4th, 2011, 04:40 PM
  5. Setup Feedback Page using Author Page as an example
    By jvtraydz in forum ClassiPress General Discussion
    Replies: 0
    Last Post: September 3rd, 2010, 06:45 PM