Titles in Dropdown showing raw strings
-
Hello,
I am using “Aegean Resort” theme, which is a commercial and as you said, possibly a non-supported theme.
Everything is working 100% except a dropdown where the titles of the “Rooms” (Rooms are special/modded Pages from what I know).
The output shows:
{:en}abc xyz{:}{:ar}ا ب ت{:}
instead of “abc xyz” (the page title)This is true in both languages.
The developers of the theme tell me that they’re using a modded version of wp_dropdown_pages() called wp_dropdown_posts() … In developer’s words:
The function that creates the room listing dropdown is a modified version of wp_dropdown_pages() made to display rooms. Ask the developer why the plugin outputs a string instead of the correct language when wp_dropdown_pages() is used and how you might fix this.
Their templates look something like this:
wp_dropdown_posts(array( 'id' => 'room_select', 'post_type' => 'room', 'selected' => $selected ), 'room_select' );at another location:
wp_dropdown_posts(array( 'id' => 'room_select_2', 'post_type' => 'room', 'selected' => $room_id ), 'room_select' );Can you guide me in the right direction?
The topic ‘Titles in Dropdown showing raw strings’ is closed to new replies.