Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › My shortcode doesn't get indexed
- This topic has 14 replies, 2 voices, and was last updated 7 years ago by
417marketing.
-
AuthorPosts
-
May 25, 2019 at 12:49 pm #22856
417marketing
ParticipantI have a custom shortcode that display team members in the content area of specific pages. I used index option in your plugin as well as allowing for shortcode to run but when I search a name, it doesn’t return a page where that name is embedded thru my custom shortcode. Can you help? Thanks
May 27, 2019 at 9:07 am #22865Ernest Marcinko
KeymasterHi,
Sure! Can you please add temporary FTP and back-end details? I will debug through the indexing process to see what exactly gets indexed. Thank you!
May 28, 2019 at 12:13 am #22895417marketing
ParticipantYou cannot access this content.
May 28, 2019 at 12:26 pm #22910Ernest Marcinko
KeymasterHi Jeremiah,
Thank you very much!
Can you please link me to a page where this custom shortcode is used, and the name of the shortcode? I see there are a lot of pages, and I am not exactly sure which it is. Thank you!
May 28, 2019 at 2:02 pm #22914417marketing
ParticipantHi the search bar is in the header itself. I am not sure what page you want. There is only one search form in the website. Can you explain what you need?
May 28, 2019 at 2:33 pm #22916Ernest Marcinko
KeymasterHi,
I mean a member page (that you mentioned in your first post), where your custom shortcode is present, which contains the information that is not indexed properly. I need to know which page it is, and the name of the custom shortcode that embeds the information.
May 28, 2019 at 10:06 pm #22923417marketing
ParticipantYou cannot access this content.
May 29, 2019 at 9:45 am #22929Ernest Marcinko
KeymasterYou cannot access this content.
May 29, 2019 at 12:15 pm #22935417marketing
ParticipantWow thanks! So all I need is to paste this in the functions.php and it should work fine to all similar instances? or will this work only on the specific meet our people page?
Thanks
May 29, 2019 at 12:17 pm #22936Ernest Marcinko
KeymasterHi!
Well, this one will work only where the ‘section’ field group is used. If you add more or different ones, let me know their names, and I will try to modifiy the code to include those as well.
May 29, 2019 at 12:21 pm #22937417marketing
ParticipantAh I used the same custom fields in different pages so I think we’re good. But yeah, if I see some issues, I will let you know. Thanks for the support, man. I appreciate it!
May 29, 2019 at 12:22 pm #22938Ernest Marcinko
KeymasterYou cannot access this content.
May 29, 2019 at 12:53 pm #22942417marketing
ParticipantHi,
I tried pasting the code the live site’s function.php but it doesn’t work. Is there anything to be done to make it work?
THanks
May 29, 2019 at 12:55 pm #22943Ernest Marcinko
KeymasterHi,
Make sure to re-create the index after the code is implemented: https://i.imgur.com/51lzhdS.png
That should do the trick.May 29, 2019 at 1:01 pm #22944417marketing
ParticipantNice! It is working now. I will leave a 5star review now.
Thanks
-
AuthorPosts
- You must be logged in to reply to this topic.