jotomas
Forum Replies Created
-
AuthorPosts
-
Hi Guust,
Thanks a lot for your explanations.
Best regards.
Hi Guust,
Thank you very much for your reply.
Ok, I understand. However, I have also noticed that if there is text in the description, even if the limit is set to zero, it is relevant for search. Therefore, if I want that a Free GD Post does not appear in search results by text in the description, I have to ensure that the description field is empty in the WP backend, correct?
I look forward to your reply.
Thank you very much for your help
Best regards.
Hi Kor,
Thank you for your reply.
I already have “Payments Manager” AddOn enabled.
I am planning to configure three Prices, one Free and two Paid, the top level paid one will use the “Is Featured” option.
What I want to achieve is to get the search results sorted in this way:
1) Top Level Paid Price (“Featured”).
2) Second Level Paid Price (not “Featured”).
3) Free.Is there some way to achieve this?
I look forward to your reply.
Thank you very much once again for your help.
Best regards.
Hi Alex,
Thank you very much for your reply.
Ooooops! I could not imagine that I had to publish the post to set the header image! I was always checking the draft preview! Sorry for not thinking about.
Thank you very much once again for your help.
Best regards.
This reply has been marked as private.This reply has been marked as private.Hi Alex,
Thank you very much for your response.
I have changed only the Post status to draft of all the 300 something posts.
Following the instructions here https://wpgeodirectory.com/docs/core-export/ what I did was:
1) Exported CSV of gd_place listings.
2) Opened CSV with Open Office UTF-8, comma as separator, double quote as delimiter.
3) Replaced all “publish” with “draft” in the post status column.
4) Save CSV.
5) Import in GD.I have tried a couple of posts, both them had the issue. The featured image shows in photo tab in the frontend, but does not show in the header of the listing detail page, neither in the featured image and uploaded images section in the right column of the backend.
Then I assumed all the 300 something posts had the issue and I reverted the site to its backup. Therefore, the issue is not visible.
I look forward to your reply.
Thank you very much once again for your help.
Best regards.
Hi Kor,
Thank you very much for your response.
I did it but there is a problem, apparently with Supreme Directory theme: the Featured Image disappears from the header and from loaded images but, strangely enough, appears in photos tab.
I had to roll back to the backup made before the import.
Any idea about to solve this issue?
I look forward to your reply.
Thank you very much once again for your help.
Best regards.
Hi Kor,
Checked!
Thanks a lot!
Best regards.
This reply has been marked as private.Hi Guust,
Thank you very much for your response.
Finally I managed to get what I wanted with this code:
// this is the snippet that adds the filter, calling the function below.
add_filter(‘geodir_detail_page_tab_list_extend’, ‘geodir_detail_page_tab_list_extend’) ;// this is the function that does the re-ordering that we call with the add filter snippet above.
function geodir_detail_page_tab_list_extend($tab_array)
{// here you can modify the array and re-arrange tabs as you wish, you can create a completely new array too.
// this is the review tab, by default is the 7th, but here we moved it to position 1.
if(isset($tab_array[‘post_info’])){
$new_tab_array[‘post_info’] = $tab_array[‘post_info’];// set in new array
// IMPORTANT the following code tells GeoDirectory that this is the new default active tab
$new_tab_array[‘post_info’][‘is_active_tab’]=’1′;
unset($tab_array[‘post_info’]);//unset in old one
}// this is the post profile tab, by default is the 1st
if(isset($tab_array[‘post_map’])){
$new_tab_array[‘post_map’] = $tab_array[‘post_map’]; // set in new array
// IMPORTANT the following code tells GeoDirectory that this is no longer the default active tab
$new_tab_array[‘post_map’][‘is_active_tab’]=”;
unset($tab_array[‘post_map’]);//unset in old one
}// this is the post info tab (optional for custom fields), by default, if available, is the 2nd.
if(isset($tab_array[‘post_images’])){
$new_tab_array[‘post_images’] = $tab_array[‘post_images’];// set in new array
unset($tab_array[‘post_images’]);//unset in old one
}
// this is the images tab, by default is the 3rd
if(isset($tab_array[‘post_profile’])){
$new_tab_array[‘post_profile’] = $tab_array[‘post_profile’];// set in new array
unset($tab_array[‘post_profile’]);//unset in old one
}// this is the video tab, appears only if there are videos and by default is the 4th
if(isset($tab_array[‘post_video’])){
$new_tab_array[‘post_video’] = $tab_array[‘post_video’];// set in new array
unset($tab_array[‘post_video’]);//unset in old one
}// this is the speacial offer tab, appears only if there are special offers and by default is the 5th
if(isset($tab_array[‘special_offers’])){
$new_tab_array[‘special_offers’] = $tab_array[‘special_offers’];// set in new array
unset($tab_array[‘special_offers’]);//unset in old one
}// this is the map tab, by default is the 6th
if(isset($tab_array[‘reviews’])){
$new_tab_array[‘reviews’] = $tab_array[‘reviews’];// set in new array
unset($tab_array[‘reviews’]);//unset in old one
}// this is the related listing tab, it is optional and by default is the 8th
if(isset($tab_array[‘related_listing’])){
$new_tab_array[‘related_listing’] = $tab_array[‘related_listing’];// set in new array
unset($tab_array[‘related_listing’]);//unset in old one
}// now we set any remaining tabs that have not been assigned an order
foreach($tab_array as $key=>$tab){
$new_tab_array[$key]=$tab;
}return $new_tab_array ;
}Best regards.
Hi Kor,
Great!
Thanks a lot!
Best regards.
Hello Alex,
I checked again and I noticed that selecting the theme and saving, applies the theme selected but Directory_Starter_custom is always shown back.
Best regards.
Hi Guust,
Thank you very much for your reply. Now I notice that the update is already applied and that it its two days old.
I do not recall to have applied it myself, maybe somebody from your support team did?
Anyway, I activated Yoast SEO and the problem editing GD posts from the backend does not show any longer. Therefore, problem solved!
Thanks a lot once again for your help.
Best regards.
Hi Guust,
Is it coming soon?
By now, I have Yoast deactivated.
I look forward to your reply.
Thank you very much for your attention.
Best regards.
-
AuthorPosts