The site I’m managing is using ACF and the way it’s done is forcing me to use php templates for the page I want to host your Pretty Google Calendar.
Is it possible to include or call the code snippet from php?, how it should be done to use the parameters I want to use?
<code> [pretty_google_calendar gcal="[email protected]" locale="es"?show_title="true" use_tooltip="true" list_type="listCustom" custom_days="60" ] </code>
In ACF I’m using WYSIWIG Editor Field but I don’t know if there is another kind of Field I could use to properly embed the calendar to avoid the use of PHP.
Thanks again, and pretty great job you are doing!
]]>I’ve created a custom REST-API route on my WordPress site, which looks like this: https://mydomain.com/wp-json/namespace/v1/custom-route?query=test
The custom route is mostly based on query parameters.
It seems to me that WP REST Cache is not caching based on the query
is there a way to include this and other query parameters into the cache key? There should be an individual item in the cache for each query parameter, that is being passed to the route.
Thanks in advance!
]]>[cf7-recordset id="mydatas" type="database" query="SELECT id, description FROM {wpdb.prefix}mytable"]
And it works as expected. But can I in some way add an URL parameter in query, like this:
SELECT mt.id, mt.description FROM {wpdb.prefix}mytable mt WHERE mt.code = $_GET['code']
]]>I can’t seem to find this answer online.
I’m sending UTM params as a query strings for all outgoing URLS from an android app. The query string shows up on pages & categories but not on blogposts.
My question is does WordPress exclude query strings for blogposts?
Everything online talks about categories and pages but says noting about posts.
Thanks!
]]>I’m trying to order by a custom field in my archives file.
In my $params array:
‘limit’ => -1,
‘order_by’ => ‘policy_order ASC’
I’ve also tried:
‘order_by’ => ‘policy_order.meta_value ASC’
I’ve had policy_order as a number and plain text field but no luck.
]]>I have a custom field (committee_program) in a pod group (committee).
committee_program is a simple custom defined relationship field with 2 values (1 being what you see in the where clause).
My params were working until I added my where clause>
$params = array(
'limit' => -1,
'orderby' => 'post_title ASC',
'where' => "committee_program = 'COPPUL Digital Stewardship Network'"
);
Thanks for your help in advance!
]]>Example: https ://mywebsite.com/thankyou/?program[0]=science&name[0]=carl
This is the new way to do this method, because I have a JS that read this fields in the URL, and I dont know if I have to modify my JS or this change later.
Thanks.
]]>Все параметры которые я передают в option params, при генерации yml файла в конечном счете переводят их с русского на английский.
Пример:
<param name=”Материал”>Металл</param>
<param name=”Цвет”>Blue</param>
<param name=”Подходит”>AirPods</param>
переводится в
<param name=”material”>Металл</param>
<param name=”color”>Blue</param>
<param name=”suitable”>AirPods</param>
Перенес файл с русификатором из /wp-content/plugins/market-exporter/languages в /wp-content/languages/plugins что не дало никакого результата, как на сам интерфейс плагина (который весь на английском), так и на конкретно эту проблему.
]]>Вопрос. Как можно менять поля? Например, мне нужно чтобы в <description> в фид передавался Short Description вместо Description.
Или как автоматически передать аттрибут продукта (бренд, цвет) в <param name>?