Allow user to create instances of custom field
you can make repeating fields with the WP alchemy class http://www.farinspace.com/wpalchemy-metabox/#have_fields_and_multi
you can make repeating fields with the WP alchemy class http://www.farinspace.com/wpalchemy-metabox/#have_fields_and_multi
Inbound vs Outbound links: I guess it’ll be helpful to clarify these concepts: Inbound links = links from another website to your own website. Outbound links = links from your website to another website. An external link would be any link that points to any domain other than the domain the link exists on. From … Read more
The comment handling is somewhat difficult to follow in code. My educated guess is that you have comment whitelist enabled (Comment author must have previously approved comment), but since pingbacks are not identifiable by author they are treated as requiring moderation.
I would search the database’s wp_posts table to find the URL(s) you are looking for, using phpmyadmin.
Old question but I found an answer at Here by Simon Hampel at the bottom. Cool filter, but I coulnd’t find a whole lot of documentation on it so I’m not 100% sure everything it’s connected to. One thing I do know is it’s used to pull the links on ‘Link to existing content’. Put … Read more
I am not sure if there’s a native function for this, but a little regex might help the case: function open_links_in_new_tab($content){ $pattern = ‘/<a(.*?)?href=[\'”]?[\'”]?(.*?)?>/i’; $content = preg_replace_callback($pattern, function($m){ $tpl = array_shift($m); $hrf = isset($m[1]) ? $m[1] : null; if ( preg_match(‘/target=[\'”]?(.*?)[\'”]?/i’, $tpl) ) { return $tpl; } if ( trim($hrf) && 0 === strpos($hrf, ‘#’) … Read more
I should start off by saying that linking to drafts will only work for logged in users (with appropriate permissions) – other users will simply hit a 404 Not Found! You’d be much better off getting all your content ready & published, or only link to it once it is ready! Nevertheless, to answer your … Read more
if anyone comes across with this issue, I resolved it by editing both the ‘home’ and ‘siteURL’ fields in the wp-options table of the database on the server (not the localhost one) to replace the ‘localhost/wordpress’ with ‘http://www.youehostedsitename‘. replace Both ‘home’ and ‘siteurl’.
This is not able to be changed through a filter. In WordPress 2.9.2 and lower, the setting can be changed in /wp-admin/options.php. The image_default_link_type field is set to “file” by default. If you set it to “none”, then scroll to the bottom and save, it will disable media links. This option has been removed from … Read more
It’s not built into core, but it’s certainly possible to add, however – I wouldn’t consider it a good idea to have a single post available at multiple URLs, so a redirect is probably best. Of course, it will require a bit of PHP, as WordPress doesn’t operate on magic or willpower. First, we hook … Read more