Support Forum

Willkommen im Support Forum. Bitte nutzt das Forum für alle Fragen, Probleme und Fehlermeldungen rund um meine Themes. Um Spam zu vermeiden, müsst Ihr dazu ab sofort registriert sein. Ihr könnt hier in Deutsch oder auch Englisch posten.

Bevor Ihr im Forum postet, lest die Forenregeln. Es werden keine Fragen zu grundlegenden WordPress Funktionalitäten beantwortet. Dafür gibt es die allgemeinen WordPress Foren und den unschlagbaren WordPress Codex. Außerdem empfehle ich zuerst die Tutorials zu lesen, da dort die meisten Fragen beantwortet werden. Für absolute Anfänger, die bisher wenig mit WordPress gearbeitet haben, empfiehlt es sich, ein paar Euro in das e-Book “Sites that Soar” von Aisling d´Art zu investieren. Das Buch erklärt den Aufbau einer Website anhand von BranfordMagazine Schritt für Schritt. Es ist zwar nur in englisch verfügbar, aber doch sehr einfach und verständlich.

Dieses E-Book wird empfohlen für WordPress Neulinge, die BranfordMagazine oder WyntonMagazine verwenden wollen.

Wegen Weihnachts- und Neujahrspause bleibt das Forum vorübergehend geschlossen. Offene Fragen werden in den nächsten Tagen noch beantwortet. Ab Januar steht das Forum dann wieder im vollen Umfang zur Verfügung.
This forum is currently locked - access is read only
You must be logged in to post Login

Search 
Search Forums:


 




Change […] to “Read More” link?

UserPost

17:32
16. April 2008


Michael Oeser

Admin

posts 791

1

Exactly. This plugin simply does what we all expect the_excerpt to do.

14:04
16. April 2008


Lazarus

Guest

2

Hello MO,


Thank you so much for the offer. Actually, I continued to work on the problem exploring “the-excerpt-reloaded” plugin and have great success to report. Not only was I able to get the “read more” text to show (in spite of having no permalinks), but excerpt-reloaded has some great additional features that make formatting very easy. I'm sure you already know, but I'll provide some detail for those who follow. I simply replaced these references in index.php and ui.tabs.php:


<?php the_content_rss('', TRUE, '', 20); ?>


with this: <?php the_excerpt_reloaded(25,'<img>','content_rss',TRUE,'Read More',FALSE,1,TRUE); ?>


Basically the parameters I set are [25 words, allow image tags, allow rss content, display "more" link, use "Read More" as the text, use content as the excerpt, and repair html tag elements]. The result is that the-excerpt-reloaded replaces “[...]” with “…” and then adds the text you specify, as noted above while preserving the text and formating. At least with these settings, it did for me.


Even better however, is the fact that this plugin has a <div> wrapper built in so you can format the “Read More” text almost any way you like by adding an appropriate declaration to style.css. Here's what I added to my style.css:


.more-link {
text-align: right;
}


Nothing too fancy, just moved “Read More” to justify on the right-side.


And that's it.


Here is a link to The-Excerpt-Reloaded where people can learn more and download the plugin:


http://guff.szub.net/2005/02/26/the_excerpt-reloaded


Hope this helps someone,


Lazaru

11:56
16. April 2008


Michael Oeser

Admin

posts 791

3

Send me your index.php by email and tell me where exactly you want the more link to appear (best would be to get a screenshot)

10:20
16. April 2008


Lazarus

Guest

4

JP or MO..


I also would like to do this. I can locate the section in index.php, but I do not have a permalink listed to use for the link reference. Of course, I tried anyway and you're right, I get the “read more” text, and an active link, but of course without a permalink the resulting page has no content. Does anyone know why my index.php does not have permalinks listed like yours does? I rechecked the original index.php from the zip and it is the same, so I downloaded it that way, I guess. Any help?


Thanks,


Lazaru

20:48
15. April 2008


JumpingPet

Guest

5

@Gary

Hi Gary, to add the links in category section, please look how to add it in the archieve.php in my earlier post. I think that's the way I do it, but I'll check it again in my code in case I forgot something.


@Michael

Hi Michael, it's just a luck :D I'm not familiar with coding and I have destroy a theme more often than fixing or improve it heheh… but I appreciate your offer, thanks :)

15:06
15. April 2008


Michael Oeser

Admin

posts 791

6

Eric said:

Solution: in wp-includes folder change formatting.php on line 821 from […] to whatever you want.


…But be aware of the fact that this will be removed when updating your WP installation.


Thanks to jumping pet for the detailed explanation. Wanna become a moderator and save me some time ;-)


Info to all: Unfortunately “the_excerpt” doesn´t allow any parameters so you cannot tell it to use “read more” instead of “…”. You can also not influence the number of words. “the_content_rss” is a bit more flexible here. Check out the Codex for detailed information.


You can also use a plugin called “The Excerpt Reloaded” which gives quite good flexibilty.

20:43
14. April 2008


Max

Guest

7

Eric, that worked!

But I also can't add “Read More” link to show up in all post when you click on category. Would appreciate very much if anyone can explain how to do it.

19:47
14. April 2008


Eric

Guest

8

Solution: in wp-includes folder change formatting.php on line 821 from [...] to whatever you want.

19:37
14. April 2008


Gary

Guest

9

Thanks so much for such a detailed explanation!Smile How did you add “Read more” to the category archives: http://jumpingpet.com/category/eclectus-parrot

Very nice site by the way:)

Thanks again!

09:46
14. April 2008


JumpingPet

Guest

10

Ok I got it :D

I. To add “read more” links in the homepage - in featured articles and category box, do the following steps:

1. Open:
index.php

2. And search for this line:
// title of the “featured articles”
the_title(); ?></a>
<p><?php the_content_rss('', TRUE, '', 20); ?></p><a href=”<?php the_permalink() ?>

3. and add this:

<a href=”<?php the_permalink() ?>”>>> Click Here to Read More…</a>

4. Now search for this line:
// this is where title of the article gets printed
the_title(); ?></a><br />
<?php the_excerpt() ; ?>

5. and add this:
<a href=”<?php the_permalink() ?>”>>> Click Here to Read More…</a>

II. To add the “read more” links to the Lead article box:

1. Open:
ui.tabs.php

Search for:
// title of the “featured articles”
the_title(); ?></a>
<p><?php the_content_rss('', TRUE, '', 20); ?></p>

2. Add this:
<a href=”<?php the_permalink() ?>”>>> Click Here to Read More…</a>

If you also want to add the “read more” links in the category section, do this step:

I. open archive.php

Search for:
<div class=”entry”>
<?php the_excerpt() ?>

and again, add this right after those line:
<a href=”<?php the_permalink() ?>”>>> Click Here to Read More…</a>

You can see the results in my site at: http://www.jumpingpet.com

But I still cannot find a way to erase the [...] , hope somebody can show the way.

Hope can be useful :)

Cheers,
JP

08:28
14. April 2008


JumpingPer

Guest

11

I would like to know about this issue as well, thanks to bring this up :)

22:10
12. April 2008


Gary

Guest

12

I've spent entire day trying to change Change [...] to “Read More” link so when you see the category and list of posts each post has “Read more” link. Does anyone know how to do it.

Any advice is much appreciated!



Reply to Topic: Change [...] to “Read More” link?
Please make sure your support question wasn´t posted (and answered) before. Please use the forums search to avoid double posts.

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 12 + 7        (Required)

Topic Reply:


 

About the DER PRiNZ forum

Currently Online:

14 Guests

Maximum Online: 26

Forums:

Groups: 4

Forums: 9

Topics: 589

Posts: 2301

Members:

There are 326 members

There are 240 guests


Michael Oeser has made 791 posts

Top Posters:

Daishi - 46

dnrothwell - 27

smilepak - 25

David Stembridge - 21

Tom - 19

Administrator: Michael Oeser | Moderators: Michael Oeser, Daishi


© Simple:Press Forum - Version 3.1.3 (Build 356)  


Readers voices

  • Jason: Thanks. Is it possible to change the number of columns, say, if I need a page...
  • George: Hallo Michael. Erst mal wünschen wir dir hier aus Koh Tao ein total...
  • Michael Oeser: @tboggi: Darüber habe ich schon nachgedacht, aber im Moment gibt es...
  • Michael Oeser: @Ich: zunächst einmal entschuldige ich mich natürlich in aller Form...
  • Fitness Planet: I did not know that. thanks for the update

Featured

    Get WyntonMagazine WordPress magazine style theme

  • WyntonMagazine WordPress theme
  • Get BranfordMagazine WordPress magazine style theme

  • BanfordMagazine WordPress theme
  • Get the e-book "Sites that Soar" - New version out now More info

  • Get the e-book 'Sites that Soar'

Tipps


Bad Behavior has blocked 16580 access attempts in the last 7 days.