Forum Replies Created
-
AuthorPosts
-
May 26, 2021 at 11:59 pm in reply to: Doc/PDF containing page not appearing in the search result #33450
Celin72
ParticipantSure you can close this. Thanks
May 26, 2021 at 12:21 am in reply to: Doc/PDF containing page not appearing in the search result #33409Celin72
ParticipantThanks Ernest for quick response.
Best wishes,
CelinCelin72
ParticipantThank you. The custom class is added when code is changed as above. Also I’ll have a look at the filters templating feature for more options.
Thanks for your support and prompt reply as always.Best wishes
CelinCelin72
ParticipantHi Ernest.
Thanks for the response. Unfortunately this doesn’t seem to append Class. Is there anywhere in plugin files I can do changes to make it appear like that. I do manual update for the plugin so I can replace the code for every plugin update until this feature is released.
Thanks
Celin72
ParticipantThanks you for the quick reply.
Requirement 1: Works fine – even though customer wanted the text outside and below of the search bar, this is also acceptable. Thanks for that.
Requirement 2: I tried to write code as below but doesn’t seem to work. My intention is to add a class to the div with class name asp_option_label and value “Strand E – Morality and Justice”. So I can add a space and then title after that if cannot make in to two column.
Can you please help me to fix this?
var filter = document.getElementsByClassName(“asp_option_label”);
if (‘ Strand E – Morality and Justice’ == filter[0].innerHTML)
{
filter[0].setAttribute(“class”, “new-filter”);
}Looking forward to hear from you!
CelinCelin72
ParticipantSure. The website is private mode so only I can view but I’ll make it public if you would like to access the website else I can upload a screenshot.
Thanks
CelinCelin72
ParticipantHi Ernest,
Any update on this?
Thanks
CelinCelin72
ParticipantThanks Ernest. Have a great day!
Celin72
ParticipantSorry Ernest even though I changed to Flex or Masonry and changed other settings but no difference.
Celin72
ParticipantHi Ernest,
Thanks for the quick reply.
I tried the recommendations and find the results below:
You can try setting a custom post type ordering here. It may not work for the results page though, but worth trying. -> Unfortunately this doesn’t work , the result still loads in a shuffled order.If you reduce the width of the columns here, it should eventually break into two columns. -> Please check the attached image, when the column width is reduced, the column shrinks with a scroll bar but not automatically split to two column.
Kind regards
CelinCelin72
ParticipantThanks Ernest for the quick reply. I’ll get back to you soon.
Kind regards
CelinCelin72
ParticipantThanks Ernest for the quick reply.
The theme used for this website is Minimal Blocks. The search page lists all the attachments by default . The issue is that the search result page shows results which takes to the attachment page but I don’t want users to find any attachment pages, I want to list attachment links to either parent post or to the attachment itself. The attachment search is set as shown in the image attached but it lists the attachment page when shows suggestion from the ajax pro search plugin.
Thanks
Celin -
AuthorPosts