Wanna modify VIEW FULL POST
-
This is located in the
functions.php
file. However, it’s not wise to edit core codes. So, I’ll provide a temporary solution… but the PHP Code Wizard will probably have a better alternative using a child theme.In the meantime, in your functions.php file… find this line:
<a class="block-button" href="<?php the_permalink(); ?>"><?php _e( 'View full post', 'graphene' ); ?></a>
You may change the text ‘View full post’, to whatever you like.
I believe you can show the same slider on all pages… however, if you want to add different content to each slider, I would recommend a plugin.
Which are you trying to do?
No I wanna show the same slider, but I don’t how. Here it doesn’t run: http://www.aloevera-gel.it
By “run”, do you mean it’s not sliding?
It’s running fine for me. What browser are you using?
No, I mean that when I go away from home page, for example http://www.aloevera-gel.it/perche-scegliere-forever-living/ the slider doesn’t appear
ModYes, the slider is only meant to work on the front page. But see this post:
It may have the answer you are looking for.
Ken
Thanks Ken. I couldn’t find that post for the life of me!
Syahir helped me with this one and suggested I do the following, which worked perfectly.
Add this to your child function.php file:
<?php
function graphene_filter_gettext( $translated, $original, $domain ) {
$strings = array(
'View full post' => 'Read More',
);
if ( ! empty( $strings[$original] ) ) {
$translations = &get_translations_for_domain( $domain );
$translated = $translations->translate( $strings[$original] );
}
return $translated;
}
add_filter( 'gettext', 'graphene_filter_gettext', 10, 3 );
function laura_sharethis (){
if(!(is_front_page())){
?>Make the Read More be whatever you want it to be.
Viewing 10 posts - 1 through 10 (of 12 total)
- 1
- 2
- You must be logged in to reply to this topic.