felipee94
Forum Replies Created
-
Forum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Adding ACF custom field@jobayertuser Then the organization should provide native support to the ACF.
Forum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Groups of CategoryOk. A feedback, the plugin needs improvements in this, and custom fields.
Forum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Groups of CategoryForum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Groups of CategoryI’m using the plugin’s native categories.
Forum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Groups of Categorybut it’s being displayed in the same select, is there a way to separate?
Forum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Adding ACF custom fieldWe’re talking about a few lines of code, I don’t see a problem.
Forum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Adding ACF custom fieldReally? I displayed the field on the page, but I can’t get the course save event to update the field. Every time I do if(isset($_POST[‘select_name’])) it returns false.
Forum: Plugins
In reply to: [WP Search with Algolia] category name with hyphenIt worked! Thank you very much, Michael.
Forum: Plugins
In reply to: [WP Search with Algolia] category name with hyphenThe taxonomy is from the Tutor LMS plugin. Can I rename with functions.php before sending to algolia?
Forum: Plugins
In reply to: [WP Search with Algolia] category name with hyphenYes, the error message is that “category is not defined”
Forum: Plugins
In reply to: [WP Search with Algolia] Easy Digital Downloads custom fieldsI wanted filtering just on frontend side. After some searching I did it with transformItens filters on refinamentList. I don’t know if it is the best way, but worked for me. I’ll paste below the code for maybe help someone trying to do the same.
const cats = [‘cat1′,’cat2′,’cat3′,’cat4’];
instantsearch.widgets.refinementList)({
…
transformItems(items) {
return items.filter(item => cats.includes(item.label));
},
}),- This reply was modified 3 years, 9 months ago by felipee94.
Forum: Plugins
In reply to: [WP Search with Algolia] Easy Digital Downloads custom fieldsI’m testing on localhost but I attached two images. The idea is to create a product filters page and to specify the download categories (Graphics, Templates, Fonts…) and the page already loaded with their products.
Forum: Plugins
In reply to: [WP Search with Algolia] Easy Digital Downloads custom fieldsThe problem was the string format, changing it to number worked. However, if I don’t set a fixed minimum value, the range slider doesn’t work. Also the slider values aren’t updated when selecting a category, but when changed the slider, the categories are updated.
I would like to bring only specific categories (in this case subcategories of ‘download_category’). Do you know how I can do it? Grateful
Forum: Plugins
In reply to: [WP Search with Algolia] Easy Digital Downloads custom fieldsThat worked, thanks. I can already see the indexed data in Algolia, but not in instantsearch page yet. I’m trying to create a rangeSlider for prices with this code but the data doesn’t appear:
instantsearch.widgets.rangeSlider({
container: ‘#facet-price’,
attribute: ‘edd_price’,
}),Does “12.00” in Algolia mean to be a string? this way the prices are listed.
Is the update of data from Algolia to the plugin automatically?