Jump to Recipe & Print Recipe

With the Jump to Recipe and Print Recipe shortcodes you can add convenient quick access links at the top of your posts like this:

Jump to Recipe – Print Recipe

 

The shortcodes can be added by using the shortcode editor by clicking on the WP Ultimate Recipe icon:

Shortcode Editor

 

Another option is to just type the [ultimate-recipe-jump] and [ultimate-recipe-print] shortcodes yourself.

If you want these buttons to automatically appear on top of every recipe post, you can also add the following code to your theme’s functions.php file:

function wpurp_auto_add_snippets( $content ) {
	if ( is_singular( 'recipe' ) ) { // Only output on single recipes, not in the archive.
		$print_shortcode = 'ultimate-recipe-print';
		$jump_shortcode = 'ultimate-recipe-jump';

		$snippets = '<div class="wpurp-recipe-snippets">[' . $print_shortcode .'] [' . $jump_shortcode . ']</div>';
		$content = do_shortcode( $snippets ) . $content;
	}
	return $content;
}
add_filter( 'the_content', 'wpurp_auto_add_snippets', 20 );

This is the recipe you should be jumping to when clicking the example link on top:

Print Recipe
Pasta Pesto
A delicious and quick pasta with green pesto. Ideal for those lazy evenings.
Votes: 1120
Rating: 4.01
You:
Rate this recipe!
Add to Meal Plan:
This recipe has been added to your Meal Planner
Add to Shopping List
This recipe is in your Shopping List
Course Main Course
Cuisine Italian
Price Cheap
Skill Level Beginner
Prep Time 5 minutes
Cook Time 15 minutes
Servings
people
Ingredients
Fresh Pesto
Course Main Course
Cuisine Italian
Price Cheap
Skill Level Beginner
Prep Time 5 minutes
Cook Time 15 minutes
Servings
people
Ingredients
Fresh Pesto
Votes: 1120
Rating: 4.01
You:
Rate this recipe!
Add to Meal Plan:
This recipe has been added to your Meal Planner
Add to Shopping List
This recipe is in your Shopping List
Instructions
Fresh Pesto (you can make this in advance)
  1. We'll be using a food processor to make the pesto. Put the garlic, pine kernels and some salt in there and process briefly.
  2. Add the basil leaves (but keep some for the presentation) and blend to a green paste.
  3. While processing, gradually add the olive oil and finally add the Parmesan cheese.
Finishing the dish
  1. Bring a pot of salted water to the boil and cook your tagliatelle al dente.
  2. Use the cooking time of the pasta to sauté your bacon strips.
  3. After about 8 to 10 minutes, the pasta should be done. Drain it and put it back in the pot to mix it with the pesto.
  4. Present the dish with some fresh basil leaves on top.
Recipe Notes

This section can be used for anything you want:
- Chef's notes
- Recipe source
- Allergy information
- Links
- ...

Or just leave it empty, and it will not appear!

Share this Recipe