Title: why hard code &hellip;
Last modified: August 30, 2016

---

# why hard code …

 *  Resolved [graftedin](https://wordpress.org/support/users/graftedin/)
 * (@graftedin)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/why-hard-code-hellip/)
 * You have a good plugin. Lots of good options. Why would you mess it up by hardcoding
   the … just before the read more link? It looks really cheesy to have ” …Read 
   More”. At the very least take it out and if I want it to look like that I’ll 
   add it in as I customize the read more text.
 * [https://wordpress.org/plugins/recent-posts-widget-extended/](https://wordpress.org/plugins/recent-posts-widget-extended/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [satrya](https://wordpress.org/support/users/satrya/)
 * (@satrya)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/why-hard-code-hellip/#post-6424350)
 * That `...` is not hard coded, it’s from the excerpt function
 *  Thread Starter [graftedin](https://wordpress.org/support/users/graftedin/)
 * (@graftedin)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/why-hard-code-hellip/#post-6424382)
 * I dug through your code, found it and removed it. It was in your code and the
   only way to remove it was to break the rules by editing your core files.
 *  Plugin Author [satrya](https://wordpress.org/support/users/satrya/)
 * (@satrya)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/why-hard-code-hellip/#post-6424383)
 * I see, you mean [this code](https://github.com/satrya/recent-posts-widget-extended/blob/master/includes/functions.php#L198),
   right? Do you have any reason why you need to remove it?
 *  Thread Starter [graftedin](https://wordpress.org/support/users/graftedin/)
 * (@graftedin)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/why-hard-code-hellip/#post-6424384)
 * It looks horrible to have it be “…Read More”. Normally it should be “Read More…”.
   But sometimes I like to be fancy and do it like this…”Read More »”. Or even get
   really crazy and do “Read More »»”. The important thing is I want full control
   over my read more text. And you give us control over the read more text but then
   mess it up by adding … before it. If I want … before it I can add it in my self.
 *  [matthewgfc](https://wordpress.org/support/users/matthewgfc/)
 * (@matthewgfc)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/why-hard-code-hellip/#post-6424484)
 * Agreed with graftedin. Make the excerpt customizable by either adding … after
   X amount of length, or by breaking word.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘why hard code …’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/recent-posts-widget-extended_3384ca.
   svg)
 * [Recent Posts Widget Extended](https://wordpress.org/plugins/recent-posts-widget-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/recent-posts-widget-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/recent-posts-widget-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/recent-posts-widget-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/recent-posts-widget-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/recent-posts-widget-extended/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [matthewgfc](https://wordpress.org/support/users/matthewgfc/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/why-hard-code-hellip/#post-6424484)
 * Status: resolved