polarracing
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Content Shortcode] orderby/order numeric not alphabeticalUse as values 01, 02, … 10
Oh, sorry it was a user field:
Have a look at the user section of the documentation and use
“user_field”
instead of field. Then it should work.
Use [if]
[if field=anticipation-score value="3"] DO WHATEVER YOU WANT [/if]
Or use if nested if neccessary:
[if field=anticipation-score value="3"] [-if field=difference-anticipation valeu="2"] DO ONE THING [-else] DO SOMETHING ELSE [/-if] [else] DO SOMETHING [/if]
Forum: Plugins
In reply to: [Custom Content Shortcode] Show category term if checkedIn this case you should look into the content section of the documentation and use [taxonomy]
Use taxonomy to loop throught the category you like and for/each to get the content you like.
Forum: Plugins
In reply to: [Custom Content Shortcode] Show category term if checkedBut still no idea how to check whether a term is checked or not.
Not sure what you mean with “is checked”. Do you want to know how many terms have a post assigned? Or the terms of the current post?
Forum: Plugins
In reply to: [Custom Content Shortcode] Filter by Relative Dates (eg: Tomorrow +1)You can calculate every date based on [today] – see math section in help.
It should be something like this.
[set myvar][calc][today]+2[/calc][/set]
Forum: Plugins
In reply to: [Custom Content Shortcode] Filter by Relative Dates (eg: Tomorrow +1)Tomorrow is “future not today”
To get “tomorrow + whatever” you could calculate a variable, pass it and use with “after”
- This reply was modified 4 years, 6 months ago by polarracing.
- This reply was modified 4 years, 6 months ago by polarracing.
- This reply was modified 4 years, 6 months ago by polarracing.
It seems you are using popup maker as well. The init popup seems to come from popup maker.
Forum: Plugins
In reply to: [Popups for Divi] Custom css to change the default close button styleYou should use the developer tools of your browser to find the classes.
These are
da-close
andevr-close
.- This reply was modified 4 years, 8 months ago by polarracing.
Forum: Plugins
In reply to: [Custom Content Shortcode] extract a date from the title fieldYou could also try:
[set myvar][format split="/" part=2][field yourfield][/format][/set]
Then you should have as result the
10
for the month. (In your example)After that you can use
while
to define the final output of your variable and use it where you like with[get myvar]
.- This reply was modified 4 years, 8 months ago by polarracing.
- This reply was modified 4 years, 8 months ago by polarracing.
- This reply was modified 4 years, 8 months ago by polarracing.
- This reply was modified 4 years, 8 months ago by polarracing.
Forum: Plugins
In reply to: [Custom Content Shortcode] extract a date from the title fieldUse
[format split="-" part=2]WHAT_YOU_NEED-TO-SPLIT[/format]
returns in this case
TO
as it is the second part that is separated with a-
or in your case:
content of
[field yourfield]
is “31/10/2020 Classes Start”[format split="/" part=2][field yourfield][/format]
will return you the 10 you like to get.
But you can also use format further and split of the complete date and the format the month with
[fomat date=M]
.So I would try something like:
[format date=M][format split=" " part=1][field yourfield][/format][/format]
- This reply was modified 4 years, 8 months ago by polarracing.
- This reply was modified 4 years, 8 months ago by polarracing.
Forum: Plugins
In reply to: [Custom Content Shortcode] Increment a variable in a loopYeah of course it must get id_count
Forum: Plugins
In reply to: [Custom Content Shortcode] Increment a variable in a loopUse
[set id_count]0[/set] [related my_acf_relationship] [set id_count][calc][id_count] + 1[/calc][/set] [pass vars] <a href="#{ID_COUNT}">My link {ID_COUNT}</a> [/pass] [/related]
You have to set the
id_count
outside the[related]
. If not, you always reset the newly calculated id_count for the next related to 0.- This reply was modified 4 years, 8 months ago by polarracing.
Forum: Plugins
In reply to: [Custom Content Shortcode] ACF Repeater for image shortcode not workingJust wrap the shortcode in a
<span>
or<div>
or style the<img>
directly.- This reply was modified 4 years, 8 months ago by polarracing.
Forum: Plugins
In reply to: [Popups for Divi] Plugin creates strange circles under the contentUpdate:
Found the reason. Its the spin.gif background image.
#et-boc .area-outer-wrap>[data-da-type][data-da-loader=yes] { background-image: none!Important; }
(you can turn it back on by disabling the css above in your browser)
solved the issue.
But I haven’t found the reason why this happens on one page and not on the other even I use the same global module so far.
It happens with the last version 2.2.0 of the plugin as with the current 2.2.1
- This reply was modified 4 years, 8 months ago by polarracing.
- This reply was modified 4 years, 8 months ago by polarracing.
- This reply was modified 4 years, 8 months ago by polarracing.