How to add custom page elements to the WYSIWYG editor?

It’s possible to manually add buttons to your editor. https://codex.wordpress.org/TinyMCE_Custom_Buttons The Codex actually links to a full tutorial detailing the process, as well. http://code.tutsplus.com/tutorials/guide-to-creating-your-own-wordpress-editor-buttons–wp-30182 That will guide you through all the steps: Adding shortcodes to your site Creating a TinyMCE plugin (register, set up, create buttons, and add what they should do) Including editor styles … Read more

Different site different div content – Multisite

Do the sites have different wordpress installs? If so, they probably have different names and you could use <div class=”different-content”> if (get_bloginfo(‘name’) == “site-1”) { // show stuff for blog named “site-1” } elseif (get_bloginfo(‘name’) == “site-2”) { // show stuff for blog named “site-2” } else { //if it’s not any of the sites … Read more

append one page content into another

You can use get_post_field() for getting the post fields i.e. Title, Content etc. // Replace $post_id with the ID of your post/page <?php get_post_field( post_title, $post_id); get_post_field( post_content, $post_id); ?>