same wordpress, 2 domains
There are two options to run multiple sites from one installation: Use multi-site with a subdomain setup. You can use completely different domains then. Adjust the site URL depending on the currently requested host.
There are two options to run multiple sites from one installation: Use multi-site with a subdomain setup. You can use completely different domains then. Adjust the site URL depending on the currently requested host.
Here’s a solution that will force a one column screen layout for any posts in the $one_column_layout_overrides array. Per the code in the original question, post type support for the editor is also removed for these posts. Screen layout options are stored in a user option for each post type. Like standard options, user option … Read more
You have to assign your new menu to some menu location at “Manage Locations” tab. If you would not do it your pages will be displayed using wp_page_menu function which will order your pages by post_title.
First of all you don’t need any custom counter ($count variable) to achieve this. WP_Query already has such counter: $current_post (available during The Loop) Index of the post currently being displayed. and you can use it. And back to your code… Your main problem is that you don’t use any conditions inside while loop, but … Read more
I found an answer, but maybe there is a better way using page-templates and applying the change directly. For now, it’s possible to apply the following in the stylesheet: body.page-two-column:not(.archive) #primary #panel1 .entry-header{ width: 100%; } body.page-two-column:not(.archive) #primary #panel1 .entry-content, body.page-two-column #panel1 #comments{ width: 100%; } Altering the #panel number you can hard code the … Read more
YES! You need 2 custom templates. One for standard view for your visitors and second for your review printout. But you need to create also for that second printout page header and footer manualy and also some functionality. You can’t use the same head and footer from other pages. Or you can but you then … Read more
Create Custom Post Type (CPT) with custom capabilities; add User Role for these capabilities; assign this Role to the users you want to be able to administer that CPT; create multiple metaboxes or multiple editors (e.g. one per content block) for your CPT; create custom template for your CPT showing metaboxes content; show that CPT … Read more
This is a known issue and will be taken care of soon, assuming you are using the “Twenty Eleven” theme: see this link. The bundled Twenty Eleven theme has some styling issues for pages with sidebars (See Trac ticket #36510)
If you only need the title you can request it outside the loop easily. Try and call the_title() in your header. It should work But you have to be aware that if you don’t put a condition, each page of your website will display its title in the header section. EDIT: the function to call … Read more
It depends on where you want to show the widget. Let’s start with the widget area (sidebar) registration: add_action( ‘wp_loaded’, ‘wpse_76959_register_widget_area’ ); function wpse_76959_register_widget_area() { register_sidebar( array ( ‘name’ => __( ‘Widgets on page Sample Page’, ‘theme_textdomain’ ), ‘description’ => __( ‘Will be used on a page with a slug “sample-page” only.’, ‘theme_textdomain’ ), ‘id’ … Read more