March 18, 2017 — Shortcodes are commonplace in WordPress themes, plugins and even WordPress core. Whether you are a new developer looking to implement a shortcode for the first time, or are a seasoned pro; come join us as we delve into the pros, cons, gotchas, best practices and creative approaches to shortcodes.
March 9, 2017 — Плагин Duplicate Post позволяет копировать существующие записи и страницы в WordPress.
Ссылка на плагин:
https://ru.wordpress.org/plugins/duplicate-post/
Пример кода из видео:
add_filter(‘edit_post_link’, ‘wpcute_edit_post_link’);
function wpcute_edit_post_link($link) {
ob_start();
duplicate_post_clone_post_link();
$link .= ‘ ‘ . ob_get_clean();
return $link;
}
Плагин Add Shortcodes Actions And Filters:
https://ru.wordpress.org/plugins/add-actions-and-filters/
September 16, 2015 — The presentation aims to show how to create your own shortcode.
We will go through the “why & how” questions following practical steps:
What’s a shortcode? When it might be useful? How to create one? Explain the structure and show the code How to add the shortcode to your WordPress Let’s use and display the shortcode!
Play with the arguments View how to add dependencies (JS/CSS/Hooks) to the short code
Prerequisites:
The topic is more technical and requires a minimal knowledge of : WordPress theme structure, use of functions / PHP, HTML.