Results 1 to 2 of 2

Thread: translating "Sorry, there is only" message on single ad page

  1. #1
    Thread Starter
    Veteran almightyeric's Avatar
    Join Date
    Aug 2011
    Location
    Nothern CA, USA
    Posts
    416
    Thanks
    56
    Thanked 19 Times in 16 Posts

    translating "Sorry, there is only" message on single ad page

    This text appears is on the single ad page:



    Components of it do appear in the "Source Text" list (i.e. left column) in Poedit. However, I tried translating one component of it (as shown below) and it didn’t affect what I saw on the page above:



    I think this is due to the HTML of it being echo'ed directly, as opposed to using one of the special _e(), __() functions (I don't remember the exact syntax).

    I think the HTML is being generated by the function ft_vienna_mod($postID) inside functions.php of the child theme. Part of that function is shown below. Line 810 shows HTML being echoed directly.



    How (if possible) can I translate this string using a .mo file?
    Attached Images Attached Images

  2. #2
    talent's Avatar
    Join Date
    Jul 2011
    Location
    London UK
    Posts
    3,499
    Thanks
    75
    Thanked 556 Times in 504 Posts

    Solved

    You must be an AppThemes customer and logged in to view this response. Join today!
    Last edited by talent; November 28th, 2013 at 08:28 AM.
    $function ('CUSTOMIZATION'); } else { .DESIGN { display: awesome; }
    If you require any additional functionality or design customization, just ask. Afterall... anything is possible! However, I may not know how to implement your particular request, but if you don't ask, you don't get

    If you build it, they will come...


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 8
    Last Post: December 3rd, 2013, 03:54 PM
  2. [MOD NEEDED] how can i modify the display of custom fields in the "single ad listing" page ?
    By happystef in forum ClassiPress General Discussion
    Replies: 7
    Last Post: May 23rd, 2013, 02:37 AM
  3. Replies: 4
    Last Post: March 8th, 2013, 10:20 AM
  4. Replies: 3
    Last Post: August 2nd, 2011, 03:54 AM
  5. [SOLVED] Clicking "Ad Post" results in "404 Page Not Found" Message
    By cmbapp in forum Help Using ClassiPress
    Replies: 9
    Last Post: January 8th, 2011, 05:33 PM