Thread: Wordpress: continue reading
-
01-08-2014, 12:36 #1Banned
- Registered
- 27/10/12
- Location
- Oost-Vlaanderen
- Posts
- 4,212
- iTrader
- 12 (93%)
- Mentioned
- 8 Post(s)
- Reputation
- 4/50
Wordpress: continue reading
Weet er iemand hoe of waar ik deze knop met Continue Reading kan aanpassen? In de .po file vind ik deze entry niet terug.
no votes
-
-
03-08-2014, 16:56 #2Deactivated user
- Registered
- 14/08/10
- Location
- Diest
- Posts
- 2,419
- iTrader
- 1 (100%)
- Mentioned
- 0 Post(s)
- Reputation
- 8/16
Google is je vriend. Customizing the Read More « WordPress Codex
no votes
-
04-08-2014, 13:06 #3Banned
- Registered
- 27/10/12
- Location
- Oost-Vlaanderen
- Posts
- 4,212
- iTrader
- 12 (93%)
- Mentioned
- 8 Post(s)
- Reputation
- 4/50
Deze had ik reeds gevonden maar werkt niet met onze template:
Modify The Read More Link Text
Adding this code to your functions file enables you to customize the read more link text.
add_filter( 'the_content_more_link', 'modify_read_more_link' );
function modify_read_more_link() {
return '<a class="more-link" href="' . get_permalink() . '">Your Read More Link Text</a>';
}no votes
-
04-08-2014, 17:01 #4Member
- Registered
- 12/02/04
- Location
- SDW
- Posts
- 737
- iTrader
- 32 (100%)
- Mentioned
- 0 Post(s)
- Reputation
- 0/1
Die read more tag moet correct in de loop gebruikt worden, anders werkt die niet. Normaal kan je <?php the_content('Meer lezen'); ?> gebruiken om die te customizen.
Doe ook eens een search and replace in uw template files op de tekst die het nu is, het kan zijn dat er ergens een override in zit.no votes
-
04-08-2014, 17:23 #5Member
- Registered
- 12/02/04
- Location
- SDW
- Posts
- 737
- iTrader
- 32 (100%)
- Mentioned
- 0 Post(s)
- Reputation
- 0/1
Pas uw template file eens aan zodat
net onder uw main loop komt, die er zo zou moeten uitzien:PHP Code:<?php global $more; $more = 0; ?>
PHP Code:<?php if ( have_posts() ) : while ( $wp_query->have_posts() ) : $wp_query->the_post(); ?>no votes
