Tag Info

Hot answers tagged

13

WordPress is a singular without plural. A second instance would be a fork that could not use the same name, because the name WordPress is a trademark of the WordPress Foundation. Like Jesus, just more rules. If WordPress had a plural it would be WordPresses, like in mess or mistress. But the prerequisite for that would be that WordPress becomes either a ...


11

Assuming all the installs are on the same instance and thus can have the same files shared between them, then the main thing you need to do is to have all the custom content stuff live outside of the main WordPress folders. So first, you're going to want a fresh copy of WordPress somewhere, untouched (and untouchable, the whole point is to have a single ...


7

They are, very similar but with some nuances: function get_the_date( $d = '' ) { global $post; $the_date = ''; if ( '' == $d ) $the_date .= mysql2date(get_option('date_format'), $post->post_date); else $the_date .= mysql2date($d, $post->post_date); return apply_filters('get_the_date', $the_date, $d); } function ...


7

Hate to play grammar police here; but using the plural form of WordPress in the example you've given is incorrect. The correct form would be `...WordPress projects...' not '...WordPresses projects...' After all you deal with a couple of WordPress projects, not WordPresses projects.


5

RECOMMENDED: No reference to the_post_thumbnail() was found in the theme. It is recommended that the theme implement this functionality instead of using custom fields for thumbnails. This is because you are not using the_post_thumbnail() in your theme, you are trying to get an image from the post content. This means there is no way for a user to ...


5

I just did a quick search on the Reblog concept because, admittedly, I've never used Tumblr and had no idea what you were talking about. After reading a bit about it, it started to sound very familiar ... Most blogs today allow you to add a ReTweet (Twitter), Like (Facebook), or Share This (Generic) button directly on the post. These are very ...


5

This is irrelevant if you're self-hosting your site. WordPress.com is a free hosting site run by the company Automattic. Since it's run by a private company, they set the rules and restrict advertising. WordPress.org is the homepage of the open source project called WordPress. You can download WordPress from this site and install it on your own server. ...


5

You can only override functions in a Parent Theme if the Parent Theme makes functions pluggable (by wrapping them in an if ( ! function_exists( 'function_name' ) ) conditional), or if the output of a function is passed through a filter (e.g. return apply_filters( $filter_name, $function_output ); Pluggable functions: in the Child Theme's functions.php ...


4

WordPress features a very rich XML-RPC interface that you can work with from external applications. It provides you access to most of the functionality you'd have directly in the admin - write posts, edit posts, edit comments, create/edit categories, manage site options, upload files, etc. As a matter of fact, certain third-party applications are already ...


4

There are two (2) steps. Add the WordPress.org username of the contributor you want to add to the "contributors" line in the header info of the Readme file, and that person will have SVN commit access to the plugin. Go to the plugin repository and log in with the main account Go to your plug-in and click the "admin" tab Add the user's WordPress login ...


4

The comments template is added to template files via the comments_template() template tag. The comments_template() template tag includes the comments.php template-part file. The comments.php template-part file includes the comment-reply form via the comment_form() template tag. Refer to the Codex (linked) for detailed instructions for modifying the content ...


4

It will effectively change the ownership, though it will still show up in your profile if your old username is listed as a contributor, and may still show up in your profile if your old username was the creator of the plugin. To fix the second part, email plugins@wordpress.org and Otto42 or I can re-assign it.


4

It is read from the infos on your plugins readme.txt. Example from my Default Values for Attachments === Plugin Name === Contributors: moraleida.me Donate link: http://moraleida.me/ Tags: attachments, default values, caption, title, description Requires at least: 2.5 Tested up to: 3.3.2 Stable tag: 0.1 License: GPLv2 or later ...


4

Should I host on my Linux hosting account or Windows Hosting Account? Is there any pro/cons one over other? It's a matter of preference and know-how. Choose one you find easier working on. If you are new to both, I'd suggest going with Linux — as most tutorials and docs on the web assume that you are on a Linux box. You can't go wrong with either, and ...


4

One of the main reasons why github support isn't currently offered is so that the development of plugins could be taken over. see: http://make.wordpress.org/plugins/2012/08/18/93/ I imagine emailing the author (cc'ing plugins@wordpress.org) stating your intention to bring the plugin up to date should be enough, if the author does not respond then the ...


3

While there is no inherent caching in get_bloginfo(), most of information it retrieves is from options and get_option() is cached. Holding value you need in a variable for using several time is still (marginally in most cases) faster than function call, but I wouldn't bother with explicit dedicated caching.


3

Calls from core to api.wordpress.org (wp 3.2.1) From the phpDoc blocks: Inside head of wp_update_themes(): "A list of all themes installed in sent to WP." Themes /wp-includes/update.php > line 261-267, called on line 280 [1]. Plugins /wp-includes/update.php > line 166-172, called on line 184 Core /wp-includes/update.php > starting on line ...


3

By "install" your widget, I'm assuming you mean "automatically add the new widget to the sidebar for your user after the plugin gets 'activated'". (Because if you activate the plugin, which also contains a widget, your widget should be visible in the widgets area immediately, without any more work needed). Jordan Bosch has a great write-up on how to create ...


3

To answer your questions: the wp-config.php is wordpress setting file. how to alter my custom theme? you don't need to alter your theme, its simply telling you to turn debug to true within wp-config.php and review your theme, to see if it creating any warnings or errors. put this line define('WP_DEBUG', true); in your wp-config.php and play around ...


3

You can play with Walker to customize output into being split by letters. From there it is matter of CSS to achieve column formatting. Quick take on Walker: class Walker_Alphabetized_Category extends Walker_Category { var $letter = ''; function start_el(&$output, $category, $depth, $args) { $current_letter = ...


3

I wouldn't worry too much about it - just download all databases and files. And if you're uploading them to the new server, change the wp-config files and run the following queries on the databases: UPDATE wp_options SET option_value = replace(option_value, 'http://www.example.com', 'http://www.newurl.com') WHERE option_name = 'home' OR option_name = ...


3

Why not just use get_pages()? e.g. <?php // Determine parent page ID $parent_page_id = ( '0' != $post->post_parent ? $post->post_parent : $post->ID ); // Get child pages as array $page_tree_array = get_pages( array( 'child_of' => $parent_page_id; ) ); ?> But if it really must be as a WP_Query() object, use a similar method: ...


3

My advice would be to scrap that. Fetching RSS feeds is part of WordPress functionality. In the past it used Magpie (so no sense whatsoever in adding another copy) but it is long deprecated and currently SimplePie is used. What this means in practice that there is fetch_feed() WordPress function that will completely handle feed retrieval and parsing. There ...


3

The article you linked to covers everything you need to know. I will just clarify what you do not understand and what is outdated. Site Redirect The domain mapping is done through wordpress.com to do a 301 direct, which tells search engines that you have moved permanently to a new address. It is outdated now and superseded with the site redirect upgrade ...


3

You can move the wp-content directory to a different location, which essentially renames it. First, in your wp-config.php file, add this: define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/folder/path/to/new/dir' ); And second, also in wp-config.php, add this: define( 'WP_CONTENT_URL', 'http://yoursite.com/folder/path/to/new/dir'); You can read ...


3

Colloquially, this is definitely meta, but whether it is in stackexchange technical terms, I don't have an opinion on. As for the actual question, I'd say it's "WordPresses". I have never given this consideration when it comes to WordPress, but if you'd check "press (noun)" in a dictionary, it should give you "presses" as a plural. And if that's the case, ...


3

You can try out the api.wordpress.org. Take for example the secret MP6 plugin: http://api.wordpress.org/plugins/info/1.0/mp6.xml The current version is given by: <version type="string"> <![CDATA[ 0.8 ]]> </version> and it looks like the previous versions are listed in the compatibility tag: <compatibility type="array"> ...


2

Wordpress.com is a hosted blogging service based, of course, on Wordpress. You can register and open your blog, choosing from a variety of themes. It's running the latest version of WordPress. Wordpress.org is the site where you can download WordPress, themes and plugins and install it in your own server.


2

Codex has plenty of relevant information, but it takes some effort to find it and put together. For starters see: Theme Development WordPress Lessons > Designing Your WordPress Site Site Design and Layout


2

I've been trying to work out the issue for months now, and have made several adjustments to try to solve the problem. In short: Yes, we know there's a problem. No, I don't know how to fix it yet. You can stop reporting it already. Current workaround: ANY commit of any kind should trigger it to update. So simply adding a space to the readme.txt and waiting ...



Only top voted, non community-wiki answers of a minimum length are eligible