Filtered content appears in the excerpt

If there are no manual excerpts added to the Post, WordPress picks the content itself as excerpt for that Post. You may either put the excerpts for Posts manually or apply_filter(‘the_excerpt’, ‘modify_excerpt’) and remove the unwanted text from the excerpt. The function code-structure will remain almost the same, with the exception that now you will … Read more

WordPress Excerpt Paragraph Limiting

Check out this tutorial: http://jshamsul.com/2012/02/08/wordpress-get-first-paragraph-from-post/ There the author puts all the paragraphs into array. So you could possibly pull out the first, second, thrid… paragraphs from that array. As for smashingmagazine.com styling the first paragraph. They do it with CSS :first-child pseudo-class like this: p:first-child { /* your styles */ } More info about :first-child … Read more

Reblog WordPress to another WordPress?

1 – RSS is the best way. See FeedWordPress | simple and flexible Atom/RSS syndication for WordPress and WordPress › SimplePie Plugin for WordPress « WordPress Plugins and Developer’s Guide – Google AJAX Feed API – Google Code 2 – Probably

Continuum Theme – Excerpt length

Here is a custom function I’ve written to modify your excerpt however you want. You should NOT be changing any core files to make modifications, as these will be overwritten by any updates made to the WordPress framework: remove_filter(‘get_the_excerpt’, ‘wp_trim_excerpt’); add_filter(‘get_the_excerpt’, ‘preserve_excerpt_format’); function preserve_excerpt_format($text) { global $post; $raw_excerpt = $text; if (” == $text ) … Read more

Excerpt not alway available

Excerpt is stored in database and available in post object only if it was added manually in post editor. Do not access such properties directly, use template tags instead – get_the_excerpt() in this case.

Modify excerpt link

Use “wp_reset_postdata();” right after “endwhile;” seems like your second query fetching link from your previous query.

Removing the […] from the excerpt returned by get_the_excerpt() only in some places

Don’t use get_the_excerpt. Just do something like: if (is_singular() && isset($post->post_excerpt)) { echo ‘<meta name=”description” content=”‘.esc_attr($post->post_excerpt).'” />’; } $post is populated long before the Loop. For “single” pages it will be populated with the post to be displayed. You can grab it very early in the page load. For other types of pages– archives, capital … Read more

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