How to preserve exact formatting when copy pasting from Facebook into WordPress (or elsewhere)?

You have a number of halfway options, but there is nothing that directly matches your requirements. That is because this is not something Facebook provides. Copy Paste Manual embedding Screenshots OEmbed Other software may claim to do this but it is a simulation/illusion, and will rely heavily on bespoke customisation, it isn’t really a facebook … Read more

post formats – how to get the relevant content part?

There is no convention or consensus on any of these questions. In my own Theme, Oenology, I use the standard template tag the_content() to get the content for almost every Post Format type. The exception is Images and Galleries, where I pull the image out separately, and use the_excerpt() as the image caption/gallery description. A) … Read more

How to Link to all posts that have the Standard Post Format

Put this in your function.php function akv3_query_format_standard($query) { if (isset($query->query_vars[‘post_format’]) && $query->query_vars[‘post_format’] == ‘post-format-standard’) { if (($post_formats = get_theme_support(‘post-formats’)) && is_array($post_formats[0]) && count($post_formats[0])) { $terms = array(); foreach ($post_formats[0] as $format) { $terms[] = ‘post-format-‘.$format; } $query->is_tax = null; unset($query->query_vars[‘post_format’]); unset($query->query_vars[‘taxonomy’]); unset($query->query_vars[‘term’]); unset($query->query[‘post_format’]); $query->set(‘tax_query’, array( ‘relation’ => ‘AND’, array( ‘taxonomy’ => ‘post_format’, ‘terms’ => $terms, … Read more

Filtering out specific post formats from certain pages

Since you’re going to be modifying either the Loop Query or the Loop output, I would recommend modifying the appropriate template files directly. To filter out Posts with the “quote” Post Format, simply wrap your Loop output (inside of the if-have-posts-while-have-posts-the-post) with: if ( ! has_post_format( ‘quote’ ) ) { // Loop output goes here … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)