aizea
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Add "…" to the_excerpt in a child themeHello again,
So I contacted the author and he told me to edit filters.php (in parent theme) with this :
function new_excerpt_more($more) { return '...'; }and it’s working ! But… I don’t want to edit my parent theme because I want to be able to update it. So I asked, how can I do it in my child theme ? And He told me to add :
function my_new_excerpt_more($more) { return '...'; } add_filter('excerpt_more', 'my_new_excerpt_more');But this is not working, so back to square one…
If someone has any idea.
Forum: Fixing WordPress
In reply to: Add "…" to the_excerpt in a child themeI found this in the parent theme :
add_filter('excerpt_more', 'new_excerpt_more');is it the problem ?
Forum: Fixing WordPress
In reply to: Add "…" to the_excerpt in a child themeI’m using ImagPress Theme and i can find only length filter but the theme has a lot of features and maybe I’m missing something…
http://themeforest.net/item/imagpress-flat-magazine-theme-/6052835
Forum: Hacks
In reply to: $do_not_duplicate and post__not_in messing with paginationThank you for your answer but I had an idea this morning and I know what is the problem :
The first loop is for a highlighted post but I only it only to appear in the first page so I have this line :<?php if (is_page_template ( 'template-homepage.php' ) && $homeSlider=="tab slider" && !is_paged()) { ?>So other pages “paged” don’t have information about post ID to exclude from the loop ! I made the test, it works if I remove this line. But my problem is I don’t want the highlighted post to appear on each page so where I should put this line ?