nickd
Forum Replies Created
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
Hi Charlie,
Just done this myself so here might be able to help with the csv getting messed up.
The csv must be delimited by quotes and commas so you need to replace any commas in your descriptions with , (to stop them messing up the csv on import) then use a wordpress MYSQL search and replace plugin to change them back after import (because html entities are not decoded on the map popups).
NVM, I figured it out, unescaped ampersands in page title.. Doh!
Ps if you click “view all” on the “latest places” homepage sidebar, you will see which listings are not affected, since their titles don’t have “Reviews For”
Hi Jkirker, if you are still looking for an answer to changing the default tab, you can do it by removing the current default tab:
$new_tab_array[‘post_profile’][‘is_active_tab’]=”; //remove old default tab
And registering the new one:
$new_tab_array[‘reviews’][‘is_active_tab’]=’1′; //add new default tab
So merged with Paolo’s code above, it looks like this:
// here u can modify this array, u can create a completely new one too.
if(isset($tab_array[‘reviews’])){
$new_tab_array[‘reviews’] = $tab_array[‘reviews’];// set in new array
$new_tab_array[‘reviews’][‘is_active_tab’]=’1′; //add new default tab
unset($tab_array[‘reviews’]);//unset in old one
}
if(isset($tab_array[‘post_profile’])){
$new_tab_array[‘post_profile’] = $tab_array[‘post_profile’]; // set in new array
$new_tab_array[‘post_profile’][‘is_active_tab’]=”; //remove old default tab
unset($tab_array[‘post_profile’]);//unset in old one
}
Signup to our newsletter for a chance to win a Lifetime License worth $1,495.
Buy with confidence: If you win, we'll refund any purchase made during the sale!
You've been entered into the draw.
Check your inbox for confirmation.