Results 1 to 2 of 2

Thread: Currency symbol after numbers when selecting categories ($100 becomes 100$)

  1. #1
    Thread Starter
    Amateur peterhupuczi's Avatar
    Join Date
    Apr 2011
    Thanked 4 Times in 2 Posts

    Cool Currency symbol after numbers when selecting categories ($100 becomes 100$)

    Hi guys, this tutorial about replace the currency symbol on the add new ad page drop down. This will be a little help for those
    who want to be place the currency symbol after the numbers

    In Hungary we use this format: NUMBERS CURRENCY SYMBOL (100 Ft)

    In default ClassiPress is set to this format: CURRENCY SYMBOL NUMBERS ($100)

    So if you need to change here is what to do:

    Step 1.

    Open up themes-functions.php. You should find it in wp-content/themes/classipress/includes/

    I'm using Notepad++ to open the file. You can download it free from here: Notepad++ | 5.9

    Once you have opened the file lets go and move to Step 2.

    Step 2.

    Look at line number 1633. This is the row what you need to modify. There is nothing special all you need to do is to cut and paste.

    BEFORE YOU START PLEASE BACK UP YOUR FILE!! (I allways copy the cod what I want to change and paste it in totepad to keep the original unchanged code)

    Ok. Once you have backed up the original code lets change things around!

    select and cut the following part of the code:

    . get_option('cp_curr_symbol')  ----> Notice the dot on the front
    All you have to do next is paste it behind the following part of the code:

    Thats it!

    Go and check it out.

    Here is the before and after for the code:

    BEFORE (original code)

    $output .=  ' - 'get_option('cp_curr_symbol') . get_option('cp_cat_price_'.$category->cat_ID);
    AFTER (the modified code)

    $output .=  ' - '  . get_option('cp_cat_price_'.$category->cat_ID). get_option('cp_curr_symbol');

    I will attach the file if you don't want to do it yourself. Download it and replace it with this.
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Veteran barukar's Avatar
    Join Date
    Sep 2010
    Brasil, São Paulo, SP
    Thanked 742 Times in 623 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [MOD NEEDED] Currency symbol...
    By rejja in forum ClassiPress General Discussion
    Replies: 1
    Last Post: November 3rd, 2011, 09:25 PM
  2. [SOLVED] currency symbol
    By blogie in forum Report JobRoller Bugs
    Replies: 4
    Last Post: January 22nd, 2011, 05:06 PM
  3. [MOD NEEDED] Integer numbers for Currency
    By pinocchio in forum ClassiPress General Discussion
    Replies: 4
    Last Post: November 27th, 2010, 06:02 AM
  4. Adding a Currency Symbol
    By lalakoi in forum ClassiPress General Discussion
    Replies: 4
    Last Post: September 8th, 2010, 09:30 AM
  5. Currency symbol position
    By anutka in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: April 28th, 2010, 11:39 AM