Tagged: custom button
-
AuthorPosts
-
March 1, 2017 at 9:42 pm #753961
Hello…
I have code to create a booking link however I just want a URL not code…
The link will open in the window as an overlay rather than sending the user to another page…
Please assist here or show me the css that will work…
I will copy and past the links along with screen grabs to see the code…
- This topic was modified 7 years, 8 months ago by Epic.
March 2, 2017 at 3:33 am #754038Hey Epic,
Please try using a plugin like https://wordpress.org/plugins/header-and-footer-scripts/ to add your script to head section and your buttons should work fine.
Let us know if you have any issue.
Best regards,
VinayMarch 2, 2017 at 3:35 am #754043Tried that and it won’t work for what I am trying to achieve….
Please login and attempt this…
It needs CSS
March 2, 2017 at 3:00 pm #754364Hi would like to have this part of the puzzle finished today if possible?
I know how to create my own button the question is HOW CAN I ADD ONLY A LINK TO A THEME BUTTON IN THE SLIDER OR NOW THE CONSTRUCTION PAGE… the codes I have are NOT URL and I want the link to overlay not open in a new window ….
Thanks
- This reply was modified 7 years, 8 months ago by Epic. Reason: Still not working
March 2, 2017 at 4:55 pm #754414Hi Guys…
Really need to move forward with this I tried as suggested again and I can’t get it to work…
- This reply was modified 7 years, 8 months ago by Epic. Reason: links to better assist
March 2, 2017 at 11:18 pm #754714anyone awake?????
March 2, 2017 at 11:29 pm #754721This is not working…
March 3, 2017 at 3:26 pm #755113Still the one issue I can’t move on from…
However since waiting this long 15 hrs I have managed to do the construction page
March 3, 2017 at 7:15 pm #755283Hey!
Please add following code to Functions.php file
function my_custom_code(){ ?> <script id="timelyScript" src="//book.gettimely.com/widget/book-button-v1.3.js"></script> <script> var bookingButton = new timelyButton('treatmentonlinerequest', {"dontCreateButton":true});</script> <?php } add_action('wp_head', 'my_custom_code');
Then add your HTML in text tab of Text Block element or in Code Block element. If that would not be possible, you can create a shortcode with your button – https://codex.wordpress.org/Shortcode_API and place it wherever you would like to display it.
Regards,
YigitMarch 3, 2017 at 7:19 pm #755290So the short code can then be as a url for the Theme button…
I will give this a try now…
Any success with the footer ticket …
Also how can I create another portfolio
March 3, 2017 at 7:21 pm #755292Hi!
Editing slider buttons would not be an easy task however you can display shortcodes in slider captions.
I am on that thread at the moment.
Cheers!
YigitMarch 3, 2017 at 7:26 pm #755294Okay… I added the Functions PHP right at the bottom — correct?
Doing the other steps now.
Basically I want…
March 3, 2017 at 7:33 pm #755301Hi!
It seems like you did not add your HTML code in text tab. I edited your page and added the code in text tab and now it is working. Please update your page and check once again :)
Regards,
YigitMarch 3, 2017 at 7:33 pm #755302I dont think this is easy …
I did as u said above however look
March 3, 2017 at 7:36 pm #755304Hey!
Would you like to use this button on your home page slider button?
Cheers!
YigitMarch 3, 2017 at 7:36 pm #755305I checked.
But not sure what I missed…
Also dunno why there is a table in the other code I was testing…
Either way this one we can move on from now as I found the answer…
Its only the request buttons I need that are in the sider and footer basically call to action customised like the theme
March 3, 2017 at 7:37 pm #755306Yes I would like the overlay button to be on all buttons
So was I correct with where I put the function PHP?
March 3, 2017 at 7:45 pm #755308Hey!
I edited functions.php file in Appearance > Editor and added a custom code at the bottom. Please flush cache and check your slider buttons
Best regards,
YigitMarch 3, 2017 at 7:47 pm #755310WHOOOOOOOPPPPPPPPPPPP
March 3, 2017 at 7:47 pm #755312Now tell me how to add these to my other places YOU ARE FREAKIN AWESOME !!!!
U guys killing me with these delays but make up for it when you fix it YIGIT always the best!
- This reply was modified 7 years, 8 months ago by Epic.
March 3, 2017 at 8:00 pm #755317Hi,
Please enable the custom css class field: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and add “custom-button” class to your button elements where you would like to activate this overlay.
Forums have been really busy, hence the delays. However we will take care of it soon. Working hard :)
Best regards,
YigitMarch 3, 2017 at 8:02 pm #755318Okay will try now…
Okay I have to get to work now so will try this later… I think thats it for NOW…. I managed to get a portfolio…
I think the only thing in another thread was the footer
March 3, 2017 at 8:16 pm #755326Hey!
Great!
We will keep the thread open and wait to hear from you. Thread will be on hold and you can simply reopen it by replying :)
Enjoy your weekend!Regards,
YigitMarch 3, 2017 at 11:07 pm #755395Trying to follow this…
whats the step by step?
March 3, 2017 at 11:23 pm #755397Where is the custom field
March 4, 2017 at 7:24 pm #755673Hi!
After enabling custom CSS fields in Functions.php file, please add button element to your page and add “custom-button” into custom CSS field – http://kriesi.at/documentation/enfold/wp-content/uploads/sites/2/2013/12/blur.jpg
Regards,
YigitMarch 4, 2017 at 8:33 pm #755693I must be blind!
Because I could not see that… I will try again…
So will this work on all the buttons that say …
March 4, 2017 at 9:06 pm #755699Right I STILL CAN NOT FIND WHAT YOU ARE TELLING ME HERE??
ALSO IF YOU ALREADY ADDED THE CODE TO FUNCTIONS WHY DO I NEED TO DO AGAIN EACH TIME.. NOT CLEAR PLEASE EXPLAIN OR SENT ME A SCREEN RECORDING OF MY BACK END….
:)
- This reply was modified 7 years, 8 months ago by Epic.
March 4, 2017 at 9:12 pm #755701/*
* PLEASE DO NOT EDIT THIS FILE!
*
* This file is only in your themefolder for WordPress to recognize basic theme data like name and version
* CSS Rules in this file will not be used by the theme.
* Instead use the custom.css file that is located in your themes /css/ folder to add your styles.
* You can copy a style rule from any of your css files and paste it in custom.css and WHERE?????
* it will override the original style. If you just want to add small css snippets you might also
* want to consider to add it to the designated CSS option field in your themes backend at: Theme Options->General Styling
*/March 4, 2017 at 9:40 pm #755713Right then… After re reading with a cup off something strong I have followed your instructions and have made it work!!!
However please tell me how you did the slider … Thats what I want to change too…
But hope not all buttons and link activate the overlay…
Finally the footers I needed help with if u go through on other thread the widget area is moving. – nice but want consistent with other pages .
Thanks again
-
AuthorPosts
- The topic ‘Custom Link for Enfold Slider Button’ is closed to new replies.