mark7694
Forum Replies Created
-
Forum: Plugins
In reply to: [Search Everything] [Plugin: Search Everything] Highlight tags & CategoriesWhat would I need to do in order for it to search taxonomy terms? Currently I output a list of terms into my results based on how they were classified. For example, they are outputted on my post like this:
<?php echo get_the_term_list( $post->ID, ‘topic-area’,) ?>
<?php echo get_the_term_list( $post->ID, ‘activity’, ) ?>
<?php echo get_the_term_list( $post->ID, ‘population-type’ ) ?>I’ve tried:
add_filter(‘the_term_lists’, array(&$this,’se_postfilter’), 11);
but that doesn’t work.
If I do a search and a result is found I can click the RESET button to return to the base page and it works correctly (example: https://www.dmngoodstaging.com/alliance/content-type/issue-briefs/?program&topic-area&geographic-location&state)
However, if no results are found and I click RESET, nothing happens. It stays on the same page (example:https://www.dmngoodstaging.com/alliance/resource-library/?program=child-and-adult-care-food-program-cacfp&topic-area=needs-and-resource-assesments&geographic-location=indian-reservation&state=arizona&content-type=issue-briefs)
Why would this be happening?
Forum: Plugins
In reply to: [Faceted Search] [Plugin: Faceted Search] Dropdown List Instead o CheckboxesYou should just be able to view the source of the page. It’s not the CSS that drives it. However, the setup is static. It does not add for automatic table row creation. If you create a new TAG or CATEGORY you will need go in to the HTML and add it manually which is why I wouldn’t suggest going that route.
Alternatively, you may want to check out the taxonomy drill-down plugin. It utilizes custom post types and taxonomies which is what you should be using. TAGS and CATEGORIES are the old way of organizing content via WordPress for this type of action.
Forum: Plugins
In reply to: [Faceted Search] [Plugin: Faceted Search] Dropdown List Instead o CheckboxesThanks, Blahtor. I kind of hacked it so it’s not really a simple cut and paste job. If you have the widget on the sidebar all you need to do is view the source you can see the values for all of your checkboxes, form call, etc. So what you are seeing on my site is no longer the widget. It’s the code from the widget that I pasted into my template file. I just coded a table like you said and placed the code from the form and the checkboxes where I wanted. You can view the source on dmngoodtimes.com and see how I did it.
As far as styling the checkboxes- that’s a bit more challenging. You’ll need to use jquery. I used CUSTOM FORM ELEMENTS, created by Ryan Fait https://www.ryanfait.com. That allows you to ovveride the default checkbox styles.
Disregard. Got this to work.
I’m having the same problem. Selecting multiple taxonomies but it’s only registering the second selection. The URLs aren’t generating correctly. It’s only creating the URL based on the last selection.
When I do a search and the archive returns all of the posts, the snippet <?php echo QMT_Template::get_title(); ?> works perfectly. However, once I click on a post I would like to be able to list all of the terms that that post is grouped under in the postmeta area much like tags work.
For example, after choosing two terms from the dropdown it lists this result: View here: https://www.dmngoodstaging.com/alliance/resource-library/?content-type=community-plans&topic-area=outreach&geographic-location=&state=
But once I click the entry I am unable to show the terms.
Is this possible?
Forum: Plugins
In reply to: [Faceted Search] [Plugin: Faceted Search] Dropdown List Instead o CheckboxesThanks, Andrew. Question: Can tags have sub-tags? I thought they were not hierarchical.
Currently on my site those categories (Vibe, Location, etc.) aren’t real. All of the tags are on the same level. From a visual standpoint I just broke them up so that it was easier for the user to visualize. Those top-level labels are just static.
Forum: Plugins
In reply to: [Faceted Search] [Plugin: Faceted Search] Dropdown List Instead o CheckboxesThanks for the quick response. I have it set up like this right now https://www.dmngoodtimes.com and that works perfect. I love the ability I have to customize it. I’ve been able to re-code it to use dropdown lists and the interface works fine on mobile. However, it returns only one tag chosen even if there are multiple tags selected. Is that just because tags do not have the ability to do this? I know taxonomies can do this but I would have to re-tag almost 300 posts in order to use taxonomies over tags which is why your plugin is so useful right now.
Forum: Fixing WordPress
In reply to: Convert Tags to Taxonomy TagsJust ran into this problem and desperately trying to find a solution. It looks like this has gone on for almost a year with no resolution? Is there still no plugin that allows for mass conversion of tags to taxonomies for custom post types?
I’ve used the above for the “Reset” function and it works fine. However, if someone makes a search without choosing any criteria it redirects back to the homepage. I’d rather it default to the same screen as if the user had chosen something with no results. Is there anyway to do this?
ThanksThanks for the quick response, Rebecca. I actually got it to work. I had changed the name of the folder and didn’t realize that’s what it was pointing to. Found the answer here: https://www.studiopress.com/support/showthread.php?t=53275
I am having the same problem. I just tried the step listed above in the studiopress forum and this is the result I got:
Parse error: syntax error, unexpected T_VARIABLE in /home1/mtwoxweb/public_html/dmngoodstaging/ctr/wp-content/themes/career/tools/theme-options.php on line 11