tosca30
Forum Replies Created
-
Unfortunately, I don’t know who Scott is. What he has written and where?
In the advanced options tab, I see the following:
- Public
- Hierarchical
- Rewrite
- Custom Rewrite Slug
- Allow Front Prepend
- Hierarchical Permalinks
- Query Var
- Remember order saved on Post Types
- Function to call when updating counts
- Associated Post Types
and none of these options seem to be related to capabilities.
What am I missing?
I’ve searched the Codex and just found out this regarding custom taxonomies capabilities.
If I understand it well, it seems to provide exactly what I need, but the capabilities have to be set when the taxonomy is registered.
Any way this can be implemented in Pods?OK, thanks, I’ll have a look.
Thanks for your answer.
I’m not sure this will solve everything though: I want the users to be able to select the existing terms, but they shouldn’t be able to modify or delete them.
Forum: Plugins
In reply to: [PiwigoPress] Features requestMail sent.
Forum: Plugins
In reply to: [PiwigoPress] Features requestThank you for your answer.
But I have no idea what a “pull request” is.
And a “diff” … do you mean something like “change this at line number x” ?Forum: Plugins
In reply to: [Media Library Assistant] Cannot make a meta_query on custom field workGreat! Thanks a lot for having spend time and energy to find out what was wrong.
Forum: Plugins
In reply to: [Media Library Assistant] Producing RSS feed for new imagesThank you very much for the “recent uploads” post idea. I will investigate in that direction, and let you know if I reach a satisfying solution that might interest others.
Forum: Plugins
In reply to: [OSM - OpenStreetMap] Errors in OSM settingsGot it!
I had to put a value other than 0 in the last parameter PHP Interface, but I don’t even know what it is used for; the french translationNiveau de zoom pour le lien en PHP
is not understandable for me.
Fantastic! This works perfectly.
Thanks a lot for all the good work and the time spent on this question.Sorry for not having come back sooner, but I had to develop/launch another website in the mean time.
Thank you very much for all the tremendous work and the explanations on this issue.
Your solution works perfectly fine to replace the ordinary
get_terms()
function, as in my sidebar search boxes.However, I don’t see how to use your custom function for my index page, that has to display the whole category tree, and currently uses the
wp_list_categories
function for this purpose.Have you any idea how I can achieve this?
Thank you for investigating.
I forgot to tell that I use the
_update_generic_term_count
option (see note on this page) in order to get the right count for media.From what I can see the
count
column is consistent with the number of media linked to each term, that is not including children term; and that is what I see in both the admin pages and in front pages when I activate theshow_count
parameter inget_terms
orwp_list_categories
function. But the aggregation never takes place.I and will have only occasionnally access to internet during the next 3 weeks.
Thanks for willing to help.
The index page uses the
wp_list_categories
function with the following arguments:'hierarchical' => 1, 'hide_empty' => 0, 'pad_counts' => 1,
for each taxonomy.
Currently, theshow_count
parameter is set to false in order not to show wrong (= non including children’s) counts.And the dropdown lists use the
get_terms
function with the same arguments … and same result.I’ve tried every combination of
hierarchical
,hide_empty
,pad_counts
andshow_count
arguments, but have never be able to display the right pad_counts.Forum: Plugins
In reply to: [Simple Lightbox] Legends not displayed on several picturesI use the File Gallery plugin, but it works fine with SLB on several other pages. See the “Photos” tab on this page https://www.marie-noelle-augendre.com/sujet/expositions/exposition-aigoual-aubrac/ for example.
And on the “cartes postales” page it has also been OK till the last adjunction I made a couple of days ago; and it’s only the last 5 uploaded pictures that are displayed wrong.
I tried to delete/re-upload one of them, but still got the same result.What makes you say that these “images are note recognized as valid attachments”? I’ve checked every information, but they seem completely similar to the others. And I don’t see any difference in the generated HTLM either.
Thanks for helping.
Forum: Plugins
In reply to: [Simple Lightbox] Legends not displayed on several picturesThanks for the hint.
I’ve made the corrections so the page is now valid, but that doesn’t change anything for the SLB legends.
I get the title since I enable the “Enable default title” option, but I still would like to display the legend.Something else comes to mind?