Archives des Casino
d
Canli poker sitelerinde secenege katilin
Canli poker sitelerinde secenege katilin
Avis de Cresus Casino – Lisez les avis marchands de Cresus casino
Avis de Cresus Casino – Lisez les avis marchands de Cresus casino
Avis de Cresus Casino – Lisez les avis marchands de Cresus casinoRead More
How to Create an Author Website on WordPress
How to Build an Effective WordPress Author Website on a Budget The Complete Guide Article Summary To make an author website, you need a domain name, a hosting provider, WordPress and a page builder. Before building the actual website, start by devising a branding strategy. Decide what the primary conversion on your website will be. When designing your website, start with a long home page with sections for: about the author, your latest book, a lead magnet, and testimonials. After the home page, work outward to your about page and book(s) page. Article Outline What is an Author Website? …
7 Reasons Why Your Local Business Needs a Professional Website
We get asked this question all the time, “Do I actually need a professional website for my small local business?” Our answer is always a big ol’ “Yes”. Actually, if you’re a small local business, you’re in more need of an effective professional website than your big-league competitors. Here’s why. Right now, over a third of people who utilize a local business discovered that business online. Whatever service or product your company provides, having a professional website that can compete is essential. A decade ago, it was looking pretty bleak for small businesses. If you ran a mom-and-pop grocery store, …
7 Reasons Why Your Local Business Needs a Professional WebsiteRead More
How to add Payhip to your Book + pop-up feature
To add Payhip to your buy buttons follow the steps below (there is also a video showing how to do it as well): Login to your Payhip account and go to your Products, then select one of your products and click “Share / Embed”, then copy the link. Next go to your website, then go to Admin>MyBookTable>Books>Your-Book. Go to the section called “Buy Buttons” and add a new “Universal Buy Button” on the drop-down menu, then paste in the link that you copied from your Payhip account. Finally click “Publish” to save your changes. If you would like Payhip to …
How to add Amazon Affiliate Links inside MyBookTable
Steps to integrate affiliate link in mbt: Go to Admin>MyBookTable>Settings>Earn. In the Earn-tab scroll down to Amazon Associates and input your amazon affiliate link. Finally click Save Changes. Go to these url sites for documentation on how to get Amazon Affiliate Links for your product: https://affiliate-program.amazon.com/welcome https://affiliate-program.amazon.com/welcome/getstarted https://affiliate-program.amazon.com/help/node/topic/GXLR66LJ66YTAW2L https://blog.hubspot.com/sales/amazon-affiliate
How to add Amazon Affiliate Links inside MyBookTableRead More
Steps for adding MailerLite to your MyBookTable Book
1. Go to Admin>Plugins>Add New. 2. Search for “MailerLite” and click install & activate. 3. Get your MailerLite API Key and save it. 4. Make a simple MailerLite form and save it. 5. Make a new MyBookTable Book and scroll do to the section called “Email Updates MailerLite Form” and choose the form you made. 6. Click “Update” to save your changes, and check to make sure the form is working my using your own email to test the form and then check your inbox for a confirmation email from MailerLite. Below is a video showing the steps as well: …
Steps for adding MailerLite to your MyBookTable BookRead More
How to change MyBookTable section titles
function sh_change_about_book_label($label,$post_id,$section){ /** * find the book id of the book you want to change and change the 8888 below to that number * find the label you want to change and change ‘overview to that label’. Section label choices are: * video-sample, overview, meta, endorsements, bookclub, audiobook, purchase, email-updates, email-updates_mailerlite, socialmedia, about-author’, preview, find-bookstore, reviews * then change the “New Overview Label” to whatever you like */ if($post_id==8888 && $section == ‘overview’){ $label = ‘New Overview Label’; } return $label; } add_filter(‘mbt_book_section_title’, ‘sh_change_about_book_label’,10,3);
Custom Import Export
MyBookTable has a custom JSON import/export tool you can access from MyBookTable > Import Books. The JSON is formatted roughly is as follows: { “version”: string, // the plugin version that exported the file “authors”: [ // An array of author terms { “id”: number, // the exported term id, used for de-duplication “slug”: string, // the term slug used for the url “name”: string, // The term title displayed on the page “description”: string, // The term description “parent”: string, // The term parent identified by term NAME, not by slug or id (eg. “J.R.R. Tolkien”, not “j-r-r-tolkien” or …
General Hooks and Filters
Frontend Changes mbt_image_url – Allows you to filter the images used for Buy Buttons and other frontend styling mbt_style_folders – Allows you to filter the folders used to look for plugin styles mbt_book_rewrite_name – Allows you to change the book post type rewrite slug, defaults to ‘books’ mbt_author_rewrite_name – Allows you to change the author taxonomy rewrite slug, defaults to ‘authors’ mbt_genre_rewrite_name – Allows you to change the genre taxonomy rewrite slug, defaults to ‘genre’ mbt_series_rewrite_name – Allows you to change the series taxonomy rewrite slug, defaults to ‘series’
Buy Button Hooks and Filters
General Hooks mbt_stores – See Creating and Modifying Stores mbt_buybutton_editor – See Customizing Buy Button Editors mbt_filter_buybutton_data – See Customizing Buy Buttons mbt_format_buybutton – See Customizing Buy Buttons mbt_get_buybuttons – Allows you to filter all the Buy Buttons attached to a book mbt_buybutton_save – Allows you to filter the Buy Button data as it is saved
Customizing Buy Buttons
There are two primary ways of modifying how Buy Buttons display, the mbt_filter_buybutton_data filter, which allows you to temporarily modify the Buy Button’s data before it is displayed, and the mbt_format_buybutton filter, which lets you filter the entire button output. Filtering Buy Button Data The mbt_filter_buybutton_data filter works on each Buy Button’s $data variable, and can also provide the $store information that the Buy Button uses if you set the accepted_args variable in add_filter to 2. The $data variable will contain whatever data that the Buy Button editor saved in it, but the default Buy Button data that is used …
Customizing Buy Button Editors
The mbt_buybutton_editor filter allows you to modify or override the default Buy Button editor. Generally this is done on a per-store basis, but it can also be used to globally change all the editors. The filter provides four arguments: $output: The overall editor HTML that will be displayed. $data: The data for the Buy Button that you are editing. $id: The ID for this Buy Button. $store: The data for the store that the Buy Button is using. (See Creating and Modifying Stores) The $data variable will contain whatever data that the Buy Button editor saves in it, but the …
Creating and Modifying Stores
MyBookTable includes an easy-to-use API for developers to add and modify the stores that the plugin supports. This is done mostly through the mbt_stores filter, which filters over the array of all stores. This allows you to insert a new store by adding an element to the array, remove an existing store by removing it’s element, or modify a store by changing it’s element data. Adding a New Store Only two pieces of information are required to add a new store to the array, the store’s slug and it’s name. The slug is simply a shortened name for the store …
Template Override Examples
Override Archive Title You can insert the following snippet into your theme’s functions.php file to remove the taxonomy indicators that show up before the term title on the MyBookTable taxonomy archive page. The following example removes the “Genre:” indicator on genre archive pages. You can make this work for any of MyBookTable’s taxonomies by replacing ‘mbt_genre’ with the appropriate taxonomy slug (Authors: ‘mbt_author’, Series: ‘mbt_series’, Tags: ‘mbt_tag’). function mytheme_override_archive_title($output) { if(is_tax(‘mbt_genre’)) { $output = get_queried_object()->name; } return $output; } add_filter(‘mbt_get_book_archive_title’, ‘mytheme_override_archive_title’);
Style Pack System
MyBookTable includes a Style Pack system that allows you to create new Style Packs that modify how your Buy Buttons look and feel and to override the existing styles included in MyBookTable. Anatomy of a Style Pack Style Packs are folders with three things in them: images for the Buy Buttons, a CSS file to override other MyBookTable styles, and a readme file that contains metadata about the Style Pack. The name of this folder is used as the Style Pack’s name, unless it is otherwise specified in the readme file. It’s recommended that Style Packs stay limited to affecting …
Template Functions and Hooks
General Hooks mbt_template_folders You can use this to add a custom folder that MyBookTable will look in when finding templates to render for your books. Example: function yourtheme_add_template_folder($folders) { $folders[] = get_template_directory().’/mybooktable_templates/’; return $folders; } add_filter(‘mbt_template_folders’, ‘yourtheme_add_template_folder’); (Note: MyBookTable will already look in the current theme directory for a “mybooktable” folder when looking for templates. mbt_content_wrapper_start This hook happens before a MyBookTable page when MyBookTable is not in Compatability Mode. It is used to render non-content parts of the theme such as the header. mbt_content_wrapper_end This hook happens after a MyBookTable page when MyBookTable is not in Compatability Mode. It …
Template System Overview
The template files in the plugin under the templates folder contain the markup and template structure for the front-end of your MyBookTable pages. MyBookTable supports a way to edit these files in an upgrade safe way through overrides. Simply copy the template you want to override into a mybooktable directory within your theme, keeping the same file structure. Example: To overide the book archive header section, copy: wp-content/plugins/mybooktable/templates/archive-book/header.php to wp-content/themes/YOURTHEME/mybooktable/archive-book/header.php The copied file will then override the MyBookTable default template file. Do not edit these files within the core plugin itself as they are overwritten during the upgrade process and …