Then, activate the button at the top right to make the code “active” and click on “Save snippet”.
Choosing Frontend Only as the code insertion location in WPCode
Add some code to style the “Jump to Recipe” button.
Now we’ll add some custom CSS to style the call to action button. Repeat the steps to create a new custom taiwan telemarketing data code snippet in WPCode and give it a simple name, like “Style Jump to Recipe Button”.
As for the code type, select “CSS Snippet”.
Now we have created some CSS code that will make our button green and the text white. Like this:
Hosted with by WPCode
1-click Use in WordPress
If you want to use different colors, simply replace the hex codes in background-color(for the button color), color(for the text) , and background-colorin .jump-to-recipe-button:hover(for the button color when the cursor hovers over the button).
Once you have entered the code, scroll down to the Insertion section and select “Auto Insert” as the Insertion Method. Then choose 'Site Wide Footer' as the position.
All you need to do is activate the code snippet and click “Save Snippet”.
Choosing Site Wide Footer location in WPCode
Add the #recipe anchor to your recipe blogs
Even if you have enabled the two code snippets, the skip button will not appear unless you add an anchor #ricettato the recipes section of your WordPress blogs. Here's what we'll do next.
Creating a code snippet to style Jump to Recipe buttons
-
- Posts: 272
- Joined: Sat Dec 21, 2024 5:42 am