Banner for Shortcake Bakery
A fine selection of Shortcake-powered shortcodes. Wordpress Tutorial
Noted That:
  • To install correctly this shortcake-bakery.zip .
  • Fisrt Download the shortcake-bakery.zip to your computer
  • Extract/Open shortcake-bakery.zip to Your Computer.
  • Then, Find readme.txt file inside shortcake-bakery.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.
Start the Tips:

Step-1 : Download " shortcake-bakery.zip " to Your Local Computer.

Step-2 : Then, Login to your " yourdomain.com/wp-admin " Dashboard.

Login to Wordpress Shortcake Bakery

Step-3 : Then, Click on " Plugins " + " Add New " from left Side Menu of Dashboard.

Go to Plugin Install Shortcake Bakery

Step-4 : Now, Click on " Upload Plugin " button.

Click Upload Button Shortcake Bakery

Step-5 : Now, Browse " shortcake-bakery.zip " Downloaded plugin from your computer, Where you downloaded " shortcake-bakery.zip " According to Step – 1 Above then, click on " Install Now "

Upload Plugin Shortcake Bakery

Step-6 : Now, Click on " Active Plugin "

Activate Shortcake Bakery

Step-7 : Then, See left Side Menu. " Shortcake Bakery " folder is added on left Side Menu. Now, Click on " Shortcake Bakery " folder.

Noted that: If you do not see " Shortcake Bakery " folder on left Side Menu then, see at left Side Menu " Settings " or " Tools ".

Step-8 : Now you configure yourself oR Watch video tutorial below about Shortcake Bakery Configurations and Settings or How to work " Shortcake Bakery " in your WordPress site.

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " Shortcake Bakery " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Shortcake Bakery
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide

It’s a plugin! Install it like any other.

Most of the shortcodes work out of the box, but you’ll need to whitelist any domains you want to be eligible for script and iFrame tag use.


add_filter( 'shortcake_bakery_whitelisted_script_domains', function(){ return array( 'ajax.googleapis.com', );
});
add_filter( 'shortcake_bakery_whitelisted_iframe_domains', function(){ return array( 'buzzfeed.com', );
});

If you don’t want to enable all of the shortcodes which are bundled with this plugin, you can filter them by returning a smaller array from the filter ‘shortcake_bakery_shortcode_classes’:


add_filter( 'shortcake_bakery_shortcode_classes', function() { return array( 'Shortcake_Bakery\Shortcodes\Facebook', 'Shortcake_Bakery\Shortcodes\Twitter', 'Shortcake_Bakery\Shortcodes\YouTube', );
});

Because of cross-domain issues, the [pdf] shortcode will only work out of the box with PDFs uploaded as local attachments, or that are served with appropriate Cross-Origin Resource Sharing headers. (If you don’t know about the domain you’re hosting the PDFs on, most likely it doesn’t include these headers and as a result, the PDF will not render properly on the front end.)

If you need to be able to serve pdf documents from other domains, you will need to set up an asset proxy for them. We have a basic PHP-based asset proxy built in to the plugin, which is disabled by default. If you want to enable it, return true from the following filter:


add_filter( 'shortcake_bakery_pdf_enable_cors_proxy', '__return_true' );

This feature should be enabled only with conscious thought, though, as if this is used heavily, it has the potential to cause serious performance issues. If you will be serving many, or very large PDFs, we recommend building your own proxy for these – using an nginx proxy_pass directive, for example.


Name