Can’t save WordPress post with “/etc/” in it
Ther is probably mod_security or a similar add-on installed on your web server. Find it, take the word etc out of the list of stop words. WordPress doesn’t do that.
Ther is probably mod_security or a similar add-on installed on your web server. Find it, take the word etc out of the list of stop words. WordPress doesn’t do that.
First of all, you’re testing for a string, as you’re wrapping the_field(“my_field”) in single quotes. So, you want to remove these quotes. Next, the_field(“my_field”) outputs a field, it doesn’t return it. You should try get_field instead of the_field.
What about CSS3 columns? All new browser support it and you can make it beautifully degrade it on old browser. Moreover you can use media queries to make it responsive! http://www.w3schools.com/css/css3_multiple_columns.asp
If you are needing users to have the ability to edit/delete their submitted content I would assume they are registered with their own member account on your wordpress website. If this is the case, why not build a custom role for your new members and then restrict everything for that role in the WP-admin to … Read more
The way that I backup our site is two-fold. Via our web host (rackspace) and manually every time I write any code for the site. DISCLAIMER: this is just what I do by habit, I don’t claim it’s the best or only way to do it. Just sharing. Firstly your provider may have an automated … Read more
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
You’ll want a post type of type book, with a custom taxonomy for the publisher series. Use post meta for the books data. The UI will be provided by Core As a refresher: Things/objects/entities are post types We classify things using taxonomies. If you can filter by X, then X is a taxonomy, e.g. colour, … Read more
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
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); ?>
The new theme uses a theme builder called Waves Page Builder. Many premium themes use page builders to allow non-technical users to add complex items to pages, such as sliders, columns, etc. The new theme is likely overriding the content in the main post editor in favor of the page builder.