Utsav Sarkar
Forum Replies Created
-
AuthorPosts
-
August 10, 2016 at 6:46 pm in reply to: How to display the custom post's title on the top section? #244743
sorry I don’t get it. Where do I put this code?
July 25, 2016 at 2:33 am in reply to: Unable to Upload Business Directories in Montreal Quebec #233031Okay nevermind I finally figured out what was wrong. For some reason, excel was adding the character “Ê” after every record. Wierd! Anyways I removed all that and it works fine now!
Thanks!
July 23, 2016 at 3:57 pm in reply to: Unable to Upload Business Directories in Montreal Quebec #232399I forgot to mention the website is http://www.ratemyphysiotherapist.com
July 23, 2016 at 3:57 pm in reply to: on the Details Page, How to display text over the image on the top? #232398yes please! that would be great!
July 23, 2016 at 3:41 pm in reply to: Unable to Upload Business Directories in Montreal Quebec #232394This reply has been marked as private.July 23, 2016 at 3:37 pm in reply to: on the Details Page, How to display text over the image on the top? #232388Instead of hiding it, is there a way to display the post’s title or other information in that area? I’ve noticed that when a user submits a listing, some text does show up in that area. Attached is a screenshot.
Oh nevermind I made a small modification to your code above and now it worked:
add_filter('pre_get_document_title', 'geodir_custom_fields_page_title', 100); add_filter('wp_title', 'geodir_custom_fields_page_title', 100, 2); function geodir_custom_fields_page_title($title = '', $sep = '') { if (geodir_is_page('detail')) { global $post; $title = str_replace('%%cf_clinic_places%%', $post->geodir_clinic_places, $title); } return $title; }
hmm I added that piece of code to my functions.php file in the Directory Starter theme and it still didnt work.
is there a way to set the “Reviews” tab as the defualt tab ?
yup! that worked! Just had to update Supreme Theme
-
AuthorPosts