Forum Replies Created
-
AuthorPosts
-
Here is the plugin: https://wpfavs.com/plugins/shortcodes-to-show-or-hide-content
What do you think, can something like this be implemented? For starters in on the Catalogue List Item?
Maybe later on, extend it to more places in the Advanced Layout Editor
Sorry, that was not the correct plugin, i’m trying to find the one i tried using and will post the llink whn i find it.
It had really cool options for displaying text on specific days of the week, specific times and alot more.
I do have another ‘new feature’ request, it’s also related to the Catalogue.
Currently it’s possible to to disable a List Item in a Catalogue, for example – “Temporarily disable and hide the item without deleting it, if its out of stock”
Would it be possible for you to implement a feature to put time, date rnage and/or intervals on List Items, much like what this plugin can do: https://wordpress.org/plugins/timed-content/This feature would also be nice generally in many situations in you theme :)
What functions file should i put it in, right now it’s in “wp-content\themes\enfold-child\functions.php”
But what if the theme gets an update, will i then loose the snippet?Thanks. It works after a minor adjustment thought, had to put a : after mobilepay.
$(this).attr(‘href’, ‘mobilepay:’ + link);
The page /priser/ is irrelevant, as this is just a way to circumvent the the fact that mobilepay:// links does not work.
The thing i really need, is that when i enter the mobilepay:// it stays like that.
PS. The mobilepay:// links is recognized if you’re on you’re smartphone and have the app Mobilepay installed, so thats why i need it working.
- This reply was modified 3 years, 11 months ago by VestegnensAutocenter.
Hi Mike
The link has been supplied in Private Content in this reply.
If i insert a link in ‘List Item Description’ on the Content tab, then everything is fine.
But if i go to the Advanced tab and insert a link here as ‘Set Manually’ then it changes my link.So apparently a hrefs are fine, but the code below (thats created by Enfold when creating Catalogues), gets changed.
[av_catalogue_item title='2 timer' price='150,-' id='676' link='manually,mobilepay://send?phone=415415&amount=150&comment=2%20timer%20-%201%20stang&lock=1' target='_blank']
When saved gets changed into
[av_catalogue_item title='2 timer' price='150,-' id='676' link='manually,https://send/?phone=415415&amount=150&comment=2%20timer%20-%201%20stang&lock=1' target='_blank']So somewhere along the way, mobilepay:// get changed to https:// when used in Catalogue List Items.
If i insert the link in a Content Element -> Text Block the URL is not changed.
If i insert the link on a List Item in Content Element -> Catalogue the URL is changed.
So something is happening when i specifically use Content Element -> Catalogue
-
AuthorPosts