<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Puydi Publicidad 100% efectiva &#187; functions</title>
	<atom:link href="http://puydi.net/blog/tag/functions/feed/" rel="self" type="application/rss+xml" />
	<link>http://puydi.net/blog</link>
	<description>Proyecto plubicitario 100% efectivo</description>
	<lastBuildDate>Sat, 20 Nov 2010 20:27:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Modificar feed wordpress &#8220;Leer mas&#8221;.</title>
		<link>http://puydi.net/blog/modificar-feed-wordpress-leer-mas/</link>
		<comments>http://puydi.net/blog/modificar-feed-wordpress-leer-mas/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 23:35:26 +0000</pubDate>
		<dc:creator>PUYDI</dc:creator>
				<category><![CDATA[Manuales]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[cambiar]]></category>
		<category><![CDATA[editar]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[leer mas]]></category>
		<category><![CDATA[modificar]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://puydi.net/blog/?p=664</guid>
		<description><![CDATA[Hace un tiempo escribimos la forma de lograr que nuestros feeds digan en la parte final Leer mas, o continuar leyendo en fin lo que desees colocar, el problema era al modificar el archivo Formatting.php del include de nuestro wordpress, si actualizamos nuestro wordpress de nuevo nos tocaría hacer todo el proceso de creación, para [...]
Related posts:<ol>
<li><a href='http://puydi.net/blog/leer-mas-en-feed-de-wordpress/' rel='bookmark' title='&#8220;Leer mas&#8221; en feed de WordPress.'>&#8220;Leer mas&#8221; en feed de WordPress.</a> <small>Hace poco un cliente nuestro necesitaba una solución para su...</small></li>
<li><a href='http://puydi.net/blog/agregar-adsense-entre-post-en-wordpress/' rel='bookmark' title='Agregar AdSense entre post en WordPress'>Agregar AdSense entre post en WordPress</a> <small>Hoy se me ocurrió poner un anuncio de AdSense después...</small></li>
<li><a href='http://puydi.net/blog/wp_emailfeedburnerpop-popup-plugin-para-wordpress/' rel='bookmark' title='WP_EmailFeedburnerPop Popup para tu feed.'>WP_EmailFeedburnerPop Popup para tu feed.</a> <small>WP_EmailFeedburnerPop es un plugin creado apartir del sexylightbox, con el...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Hace un tiempo escribimos la forma de lograr que nuestros <strong>feeds</strong> digan en la parte final Leer mas, o continuar leyendo en fin lo que desees colocar, el problema era al modificar el archivo Formatting.php del include de nuestro <strong>wordpress</strong>, si actualizamos nuestro <strong>wordpress</strong> de nuevo nos tocaría hacer todo el proceso de creación, para evitarnos este problema ahora debemos de entrar a nuestro sistema de archivos, buscar en nuestro Theme un archivo llamado functions.php (si no existe lo creamos). Bueno dentro de este archivo agregamos el siguiente código.</p>
<blockquote><p>function new_excerpt_more($more) {<br />
return &#8216;&lt;a href=&#8221;&#8216; . apply_filters(&#8216;the_permalink&#8217;, get_permalink()) . &#8216;&#8221; rel=&#8221;bookmark&#8221; title=&#8221;Leer mas&#8221;&gt;&lt;strong&gt; contin&amp;uacute;a leyendo &amp;raquo; &lt;/strong&gt;&lt;/a&gt;&#8217;;<br />
}<br />
add_filter(&#8216;excerpt_more&#8217;, &#8216;new_excerpt_more&#8217;);</p></blockquote>
<p>Una vez agregado lo guardamos y lo subimos y listo ya nuestro <strong>feed</strong> dirá leer mas</p>
<p>Related posts:<ol>
<li><a href='http://puydi.net/blog/leer-mas-en-feed-de-wordpress/' rel='bookmark' title='&#8220;Leer mas&#8221; en feed de WordPress.'>&#8220;Leer mas&#8221; en feed de WordPress.</a> <small>Hace poco un cliente nuestro necesitaba una solución para su...</small></li>
<li><a href='http://puydi.net/blog/agregar-adsense-entre-post-en-wordpress/' rel='bookmark' title='Agregar AdSense entre post en WordPress'>Agregar AdSense entre post en WordPress</a> <small>Hoy se me ocurrió poner un anuncio de AdSense después...</small></li>
<li><a href='http://puydi.net/blog/wp_emailfeedburnerpop-popup-plugin-para-wordpress/' rel='bookmark' title='WP_EmailFeedburnerPop Popup para tu feed.'>WP_EmailFeedburnerPop Popup para tu feed.</a> <small>WP_EmailFeedburnerPop es un plugin creado apartir del sexylightbox, con el...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://puydi.net/blog/modificar-feed-wordpress-leer-mas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Leer mas&#8221; en feed de WordPress.</title>
		<link>http://puydi.net/blog/leer-mas-en-feed-de-wordpress/</link>
		<comments>http://puydi.net/blog/leer-mas-en-feed-de-wordpress/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 05:59:20 +0000</pubDate>
		<dc:creator>PUYDI</dc:creator>
				<category><![CDATA[Manuales]]></category>
		<category><![CDATA[ayuda]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[funciones]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[manuelas]]></category>
		<category><![CDATA[solucion]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp_trim_excerpt]]></category>

		<guid isPermaLink="false">http://puydi.net/blog/?p=646</guid>
		<description><![CDATA[Hace poco un cliente nuestro necesitaba una solución para su feed de wordpress, el problema era el siguiente: Cuando tu publicas un contenido en tu blog de wordpress este con la herramienta  &#60;-more-&#62; genera automáticamente un pequeño resumen de tu nuevo post, y al final deja un link (leer mas), pero en tu feed, este [...]
Related posts:<ol>
<li><a href='http://puydi.net/blog/agregar-adsense-entre-post-en-wordpress/' rel='bookmark' title='Agregar AdSense entre post en WordPress'>Agregar AdSense entre post en WordPress</a> <small>Hoy se me ocurrió poner un anuncio de AdSense después...</small></li>
<li><a href='http://puydi.net/blog/wp_emailfeedburnerpop-popup-plugin-para-wordpress/' rel='bookmark' title='WP_EmailFeedburnerPop Popup para tu feed.'>WP_EmailFeedburnerPop Popup para tu feed.</a> <small>WP_EmailFeedburnerPop es un plugin creado apartir del sexylightbox, con el...</small></li>
<li><a href='http://puydi.net/blog/como-instalar-wordpress-guia-de-instalacion/' rel='bookmark' title='Cómo instalar WordPress, guía de instalación'>Cómo instalar WordPress, guía de instalación</a> <small>Si tu deseo es tener tu propio blog en wordpress,...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Hace poco un cliente nuestro necesitaba una solución para su feed de wordpress, el problema era el siguiente:<br />
Cuando tu publicas un contenido en tu blog de wordpress este con la herramienta  <strong>&lt;-more-&gt;</strong> genera automáticamente un pequeño resumen de tu nuevo post, y al final deja un link (<strong>leer mas</strong>), pero en tu feed, este solo aparece con <strong>[…]</strong>, entonces el problema se genera cuando usamos nuestro feed para alimentar redes sociales como <strong>facebook</strong>, por esta razon necesitamos agregarle ese pequeño link que dirija a nuestros lectores de estas redes a nuestro blog.<span id="more-646"></span></p>
<p>La solucion mas simple que encontramos fue modificar el archivo <strong>functions-formatting.php</strong> (para versiones 2.7 o anteriores) o<strong> formatting.php</strong>(versiones 2.8 o superiores).<br />
Lo primero que debes hacer es abrir el archivo <strong>formatting.php</strong> que lo encontraras en la carpeta <strong>/wp-includes/</strong>, luego dentro del archivo deberas buscar la función function <strong>wp_trim_excerpt</strong>, en esta función encontraras una linea como esta</p>
<blockquote><p>array_push($words, ‘[…]’);</p></blockquote>
<p>ahora solo es remplazarla por esta nueva</p>
<blockquote><p>array_push($words, &#8216;&lt;a href=&#8221;&#8216; . apply_filters(&#8216;the_permalink&#8217;, get_permalink()) . &#8216;&#8221; rel=&#8221;bookmark&#8221; title=&#8221;more-link&#8221;&gt;&lt;strong&gt; | contin&amp;uacute;a leyendo &amp;raquo; &lt;/strong&gt;&lt;/a&gt;&#8217;);</p></blockquote>
<p>Ahora guarda el archivo súbelo, y ya tendrás solucionado tu problema.</p>
<p>Para ver un ejemplo de como quedaria tu feed entra <a title="Feed Quehayparahacer" href="http://quehayparahacer.com/feed/">Aqui</a></p>
<p>Related posts:<ol>
<li><a href='http://puydi.net/blog/agregar-adsense-entre-post-en-wordpress/' rel='bookmark' title='Agregar AdSense entre post en WordPress'>Agregar AdSense entre post en WordPress</a> <small>Hoy se me ocurrió poner un anuncio de AdSense después...</small></li>
<li><a href='http://puydi.net/blog/wp_emailfeedburnerpop-popup-plugin-para-wordpress/' rel='bookmark' title='WP_EmailFeedburnerPop Popup para tu feed.'>WP_EmailFeedburnerPop Popup para tu feed.</a> <small>WP_EmailFeedburnerPop es un plugin creado apartir del sexylightbox, con el...</small></li>
<li><a href='http://puydi.net/blog/como-instalar-wordpress-guia-de-instalacion/' rel='bookmark' title='Cómo instalar WordPress, guía de instalación'>Cómo instalar WordPress, guía de instalación</a> <small>Si tu deseo es tener tu propio blog en wordpress,...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://puydi.net/blog/leer-mas-en-feed-de-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

