The default tag has no wiki summary.
0
votes
1answer
43 views
Woocommerce: Changing the variations select default value?
At my site i want to change the default value of the selecter that appears, when different variations exists. If anyone can give me a clue of how and where this is done, it would be highly ...
-1
votes
1answer
65 views
Woocommerce Sidebar issue
I've just installed Woocommerce into my website and it's working great apart from one thing...
Sidebars!
How do I set which Sidebar the Shop page and other WooCommerce pages use?
As part of my ...
2
votes
1answer
58 views
Set default text for the editor in new posts
I was wondering, is it possible to set default text to appear inside "text" part of the wysiwyg located on Create post page? So every time you click add new post that text would be there waiting for ...
0
votes
0answers
23 views
how to code if the page doesn't exist execute and display this content?
I am trying to develop a wordpress theme, I having hard time on how to code on how to support on this:
if I don't have any page created yet, there is a substitute title and content displayed.
Is ...
1
vote
1answer
155 views
Change comments form title on a page by page basis
I'm looking to change the comments form title (my theme defaults this to "Leave a Comment" or "Leave a reply to").
I thought perhaps I could add a hook to comment_form_defaults but my snippet below ...
2
votes
1answer
45 views
How to display by default only published posts/pages in the admin area?
As it is, WordPress displays by default all the pages/posts in the pages/posts list in the admin area, no matter what their publishing status is.
I have a lot of drafts, but usually I'm much more ...
0
votes
1answer
48 views
Using _s theme, menu changes do not affect header menu
I'm using the _s theme and seeing the header menu point to 'Home' and 'Sample page'.
in functions.php, we have
register_nav_menus( array(
'primary' => __( 'Primary Menu', 'mytheme' ),
...
0
votes
2answers
50 views
Set Default Category to Username
I installed a plugin called "Symbiosis" which creates categories automatically copying a user's username upon them signing up.
Whenever any user creates a post on the site, I am trying to figure out ...
3
votes
4answers
2k views
Is there a way to set default custom fields when creating a post?
When I'm creating a new post, just after clicking "Add New", when the post editor shows, instead of having to use the dropdown and choose a custom field to use, I'd like to have some default custom ...
0
votes
3answers
77 views
Default pages to be unpublished - possible?
Is it possible to change the default status of every new page created to be "unpublished"?
We want to have someone help us add pages to a site, but not have them show up by default until it is (all ...
1
vote
1answer
161 views
Adding default post content for category
I'm trying to add some default content to my posts using this code in my functions.php:
add_filter( 'default_content', 'my_editor_content' );
function my_editor_content( $content ) {
$content = "My ...
1
vote
4answers
523 views
How to Create a Custom WordPress Install Package?
I downloaded the latest version of WordPress (3.5) and created a custom theme. I plan to upload and install it for multiple clients. Is it possible to customize the default settings such as not have ...
0
votes
1answer
47 views
Setting default category for display
The default category for the page News is news.
But I want the page news to show all posts.
Not just news posts.
All posts, includes news posts and engineering posts.
When you hit the main site ...
6
votes
4answers
1k views
How do you use a CPT as the default home page?
I have a client who's site will be making heavy use of custom post types to configure their site. But I'm between a rock and a hard place for their requested home page.
In reality, the home page ...
-1
votes
1answer
39 views
default menu help [closed]
I just did a fresh install of WordPress to test my new theme. When I go to the site, the 2011 theme is active and the pages shown are "Home Sample Page" looking in the functions.php file, I would ...
0
votes
3answers
66 views
How do I add a nested conditional within an echo - to use a default image if there isn't one in the post?
I'm trying to add a conditional that will display a default image if the "image" field isn't populated... here's what I'm trying to work with:
$args = array(
'posts_per_page' => 3,
...
2
votes
3answers
678 views
Multisite: setting theme and options when a new blog is created
When a new blog is created in a WP Multisite instance I want to be able to set the default theme and configuration options
create 2 menus (main and secondary) and associate them with the 2 slots ...
3
votes
4answers
865 views
How to set a default format for a custom post type?
I created a custom post type for my blog, to allow easier separation of content. This new post type supports different post formats, but most of them will be galleries.
register_post_type('atelier',
...
0
votes
2answers
233 views
Show default content if custom WP_Query has no posts
I have a custom loop to show posts that meet a certain set of $args like this:
<?php $recent = new WP_Query( $orderargs );
while($recent->have_posts()) : ...
0
votes
1answer
85 views
Change admin startpage to Pages-page?
When you login to the admin you see the Welcome page by default. A client of mine requested to see the "Pages" page by default, he had seen it somewhere else.
Is this possible, and if so, how? Tried ...
11
votes
1answer
16k views
How to change the default registration email ? (plugin and/or non-plugin)
After a new user registration, WP sends out an email with the login / password, and a link to the login page.
Is there a way to change this defaut email template? I'd also like to change the subject ...
1
vote
1answer
398 views
Force display name as full name
Is there a way I can force all users display names to be Firstname Lastname or alternatively change this to be the default?
0
votes
2answers
56 views
How do you set the default page in WordPress?
Assuming I have a page with the URL http://papermepress.com?page_id=2 that I want to set as the default, what do I need to do so that when a user types in just http://papermepress.com they see that ...
3
votes
3answers
1k views
How to fix a theme with page.php Default Template that accidentally deleted?
I am having a quite odd case with WP today, and after spending about an hour searching on google and forums, can't find any answers. I hope posting here might allow me some chance to get help from ...
1
vote
2answers
297 views
new page sidebar-template by default
Using twenty-eleven theme, need to change default template for new page from standard to sidebar.
anyone?
0
votes
2answers
126 views
Display “a generated one [avatar] based on their e-mail address”
I was looking at the discussion settings in WordPress and near the "Default Avatar" option I saw that it said the following:
For users without a custom avatar of their own, you can either display ...
2
votes
1answer
96 views
How does the default recent posts widget work with cache?
I am trying to build a widget based on the default wordpress recent posts widget. In wp-includes/default-widget.php , I noticed in class WP_Widget_Recent_Posts in function widget(), the recent posts ...
3
votes
3answers
118 views
Deleting default category in wordpress
I'm looking for a way to delete default category functionality in wordpress but after i delete the default category in wp_terms table in mysql database, it automatically assigns default category to ...
0
votes
2answers
367 views
Setup A Default Featured Image
I'm trying to setup a default fallback featured image on my website to ensure consistency with images being displayed for every post, even when an image is not embedded in the post. I've tried a ...
0
votes
1answer
228 views
Display thumbnails for certain category posts
I have wondered about the web and came across this beautiful piece of code:
if(has_post_thumbnail()){
the_post_thumbnail();
}else{
echo '<img src="' . get_bloginfo('template_directory') ...
0
votes
2answers
236 views
styles/default.css in markup, where does it come from? [closed]
I have the following line under the head tag but I don't have the file styles/default.css in my theme and consequently get a loading error in browsers. I'd like to eliminate this line but I don't know ...
1
vote
1answer
291 views
Change Default Image HTML
I am making a Wordpress theme and want to change the default image html. For example if you upload an image using Wordpress uploader it generates the following html for your images
<a ...
0
votes
2answers
1k views
Default or Preset Content for Custom Post Types
I am trying to modify the code for default content to display based on post type, but so far I have been unsuccesful. The base code is:
add_filter( 'default_content', 'my_editor_content' );
...
1
vote
1answer
24 views
Display posts styled exactly like default posts
What would the parameters be for the shortcode to display a category of posts exactly like they would appear on the main blog page?
Seems pretty simple but I just don't see which parameter would do ...
1
vote
2answers
252 views
Create a custom WP install with plugins, theme etc already installed?
Is it possible to create a Wordpress install that will automatically install with multiple pliugins, a particular theme and custom settings so when I setup multiple blogs I don't have install so much ...
0
votes
1answer
184 views
Specifying Default Template for Hierarchal Custom Post Type [duplicate]
Possible Duplicate:
single-{$post_type}-{slug}.php for custom post types
I have registered a Custom Post Type named conference with the attribute:
'hierarchical' => true
In the ...
0
votes
3answers
3k views
Why are the comments disabled by default on my custom_post_types?
I am using a custom post type + taxonomies in a podcast solution for a client. The setting (settings >> discussion) for comments is set to "allow comments". When I add / edit posts under the "posts" ...
1
vote
1answer
39 views
Include default functions and methods
I'm starting a new service for a customer consisting in adding a input API in their WP website. I started by creating a blank page on the root but then I realized I couldn't access all methods and ...
0
votes
1answer
285 views
Automatically delete default posts and pages on theme install?
Is there a way to automatically delete the default wordpress posts and pages when activating theme theme?
1
vote
2answers
88 views
How to deal with equal & similar arguments for a function?
I'm currently extending my pagination plugin, after a hint by @toscho. So the plugin will now use the same filters, hooks and arguments as the native wordpress pagination functions.
My problem is ...

