Hi tagnut, thank you! How do I use the patch? I need to do the same thing for instructors, and also for classes.
Again, many thanks!
BuzzQueen, patching the code using the diff might be a bit of a hit-and-miss if you haven’t used diff/patch before.
For your convenience, I uploaded the patched version to GitHub. You can download the entire plugin at
https://github.com/bpfh/weekly-class-schedule/releases
See the README at
https://github.com/bpfh/weekly-class-schedule/blob/master/README.md
Hope this helps. Let me know how it goes.
Thanks, tagnut — you are awesome! I will go read. Yes, I have no clue what diff is.
tagnut, if I delete the old plugin and replace with this new one on github (3.11.1), will I lose the data I entered?
BuzzQueen, the data should remain intact if you do not remove the plugin via WordPress. If you simply replace the original weekly-class-schedule folder with the 3.11.1 one, data should remain intact. The modified plugin only added query capabilities and does not require data changes.
Having said that, a backup never hurt anyone.
I also needed to filter by instructor, class, and weekday. And I wanted more customizability of the templates. I didn’t find tagnut’s repository until I had already added those features. I forked his repository and added my changes in here.
Looks brilliant, Jonathan. Is it possible you create a pull request and I’ll merge in your changes?
I have since extended the searches by instructor, class name, and location to support alternation (e.g. instructor="Bill|Julie|Jane" finds either Bill or Julie or Jane, not just one) and wildcards (e.g. class="%Yoga%" finds all classes that contain the word “yoga.”)
I will create a pull request to your repo.
Thanks, merged your pull request.
Are Pulsar interested in merging these features upstream?
Hi out there,
I tried the modified version but I cannot filter for classes. Does anyone experience the same?
Was the modification also applied for the 3.12 version?
I have not updated the fork to the latest upstream yet. Anyone willing to help out?
I am obviously not skilled enough, so I have to ask for help… 😉
Do you have any hints for me? I have several classes which I want to present in a filtered way like football, athletics, and so on. All I need to achieve this is the class="%football%" filter feature which does not seem to work for me. I have the latest wordpress version (updated some few days dago) installed.
Could you please help out?
Filtering for location seems to work with wildcards. But if I use class="%football" I always get the full unfiltered set of classes. The same happens with the term `class=”football”. Again, I get the full list.
What I need in principle is something like class="Desc 1 \or Desc 2 \or Decs 3" in whichever type of syntax in order to select the classes I want to add to the list.
Any ideas about this?
Thank you in advance.
*** Push ***
Is there anybody out there willing and able to help me out?
Thanks a lot.