efaycal
Forum Replies Created
-
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] How to use pagination in archiveI finally found my mistake.
I used typographical quotes (from a copy/past) so I replaced them with regular quotes and it work now.
Thank’s for your time
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] How to use pagination in archiveHi,
I’m not sure to understand how pagination work.
Do I have to specify on my template with a magic tag where I want my pagination to show ?Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] How to use pagination in archiveHi @keraweb thank’s for your help.
Yes I’m sure there are more than 5 objects if I delete the limit all my object are displayed and it’s not what I want. I want to show 5 objects and a pagination who show the others objects. I don’t have issues about showing the objects on the page I “just” can’t display a pagination.
To be honest I don’t know why my former colleague used
eznaturecontrat.post_name
inside theorderby
I just copied and pasted it but if you want to knoweznaturecontrat.post_name
is juste a string for the type of job contract (like fixed-term contract or permanent contract).I tried without it and then by deleting all the
orderby
but the pagination still don’t show.Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] How to use pagination in archiveThanks I already saw this topic but even when I write
[pods name="emploi" limit="5" pagination=”true” pagination_type="paginate" orderby="eznaturecontrat.post_name desc, post_date desc" template="archive_template_emploi" where="t.post_status in('publish')" ]
There is no pagination displayed. Is there other things to specify somewhere ?
I use a custom template developped by another guy, do I have to add some function inside of it ?
Sorry I’m a newbie in wordpress custom theme.
Hi @keraweb
Even with an archive template ? I want to see all my field “eztest” from the pods “test” ? I have enable the option Enable Archive Page on Advanced optionSorry I’m novice I don’t know how to use get_post_meta, how can I find the “given post ID”.
To be clear I want to write
<?php get_header(); ?> <h1>Test</h1> <p> {@eztest}</p>
inside archive-test.php but intead of rendering the string “{@eztest}” I want the value of that field
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Can’t find pods importedThank you both for your quick answers.
Sorry if I’m not very clear.Like you said @pdclark I have imported correctly the structure but I don’t know what I am suppose to do for using this structure ? Because I can’t find it it doesn’t appear on the left in the admin like when I create a new pod by myself.
That’s what I tried to explain ??
- This reply was modified 3 years, 8 months ago by efaycal.