Results 1 to 4 of 4

Thread: Solution of the BUG on breadcrumb translation and dislay when u click "View More Ads"

  1. #1
    Thread Starter
    Member donatelloii's Avatar
    Join Date
    May 2011
    Location
    Germany
    Posts
    68
    Thanks
    6
    Thanked 9 Times in 6 Posts

    Solution of the BUG on breadcrumb translation and dislay when u click "View More Ads"

    To solve the BUG with breadcrumb translation and display when u click "View More Ads" open the file includes/theme-functions.php


    Go to the line 1452 and change this sloppy code:
    PHP Code:
                case is_archive():
                    if( !empty(
    $_GET['sort']) && $_GET['sort'] == 'random')
                        echo 
    __"Random Ads "'apthemes' );
                    else
                        echo 
    __"Latest Ads "'apthemes' );
                break;

                case 
    is_404():
                    echo 
    $currentBefore __('Page not found''appthemes') . $currentAfter;
                break;

            endswitch;

            if ( 
    get_query_var('paged') ) {
              if ( 
    is_category() || is_day() || is_month() || is_year() || is_search() || is_tag() || is_author() ) echo ' (';
                echo 
    __('Page''appthemes') . ' ' get_query_var('paged');
              if ( 
    is_category() || is_day() || is_month() || is_year() || is_search() || is_tag() || is_author() ) echo ')';
            } 


    To this code:

    PHP Code:
                case is_archive():
                    if( !empty(
    $_GET['sort']) && $_GET['sort'] == 'random') echo _e"Just Listed"'appthemes' );
                    elseif ( !empty(
    $_GET['sort']) && $_GET['sort'] == 'popular') echo _e"Most Popular"'appthemes' );    
                    else 
                    echo 
    _e"Random"'appthemes' );
                    break;    
                        

                case 
    is_404():
                    echo 
    $currentBefore __('Page not found''appthemes') . $currentAfter;
                break;

            endswitch;

            if ( 
    get_query_var('paged') ) {
              if ( 
    is_category() || is_day() || is_month() || is_year() || is_search() || is_tag() || is_author() ) echo ' (';
                echo 
    ' » '.__('Page''appthemes') . ' ' get_query_var('paged');  
              if ( 
    is_category() || is_day() || is_month() || is_year() || is_search() || is_tag() || is_author() ) echo ')';
            } 

    Cheers

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

    bruunmedia (February 8th, 2012)

  3. #2
    Thread Starter
    Member donatelloii's Avatar
    Join Date
    May 2011
    Location
    Germany
    Posts
    68
    Thanks
    6
    Thanked 9 Times in 6 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. The Following 2 Users Say Thank You to donatelloii For This Useful Post:

    bruunmedia (February 8th, 2012), favorigrup (February 13th, 2012)

  5. #3
    bruunmedia's Avatar
    Join Date
    Jul 2010
    Location
    Denmark
    Posts
    53
    Thanks
    12
    Thanked 10 Times in 5 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #4
    Thread Starter
    Member donatelloii's Avatar
    Join Date
    May 2011
    Location
    Germany
    Posts
    68
    Thanks
    6
    Thanked 9 Times in 6 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Solution of the pagination "View More Ads"
    By donatelloii in forum ClassiPress General Discussion
    Replies: 5
    Last Post: August 4th, 2012, 04:17 AM
  2. Replies: 2
    Last Post: March 5th, 2011, 04:31 AM
  3. Once I click PUBLISH, the ad link takes you to a "whoops 404 page"
    By mediabizz in forum Help Using ClassiPress
    Replies: 15
    Last Post: February 24th, 2011, 08:47 AM
  4. Replies: 3
    Last Post: December 21st, 2010, 08:18 PM
  5. When I click on "Search Classifields" opens the link banner
    By pedrox in forum ClassiPress General Discussion
    Replies: 5
    Last Post: February 9th, 2010, 03:57 AM