Hannes Salen
Forum Replies Created
-
I think so, I hope it gets resolved in the next wordpress update, I have the same issue with my website …
Forum: Plugins
In reply to: [My Optional Modules] twenty fourteen grid doesn't display featured postsThe problem seems to be happening once I try to hide certain tags, it seems to conflict with the tag I use to choose the featured posts.
There is allready a bug report for this problem, it will hopefully be fixed in a future wordpress release!
IE bug wordpressForum: Themes and Templates
In reply to: [Twenty Fourteen] Hide featured image on pages, not postsI use below code to show the featured image on single posts only, block it in category view except one category, this will probably work for pages as well …
.single .post-thumbnail img { display: block; } /*show featured image in single post view*/ .category .post-thumbnail img { display: none; } /*hides featured image in category view*/ .category-37 .post-thumbnail img { display: block; } /*unhides featured image in category 37*/
Just paste below code in a new text document and save it as functions.php in your child theme folder.
<?php function remove_more_tag_link_jump($link) { $offset = strpos($link, '#more-'); //Locate the jump portion of the link if ($offset) { //If we found the jump portion of the link $end = strpos($link, '"', $offset); //Locate the end of the jump portion } if ($end) { //If we found the end of the jump portion $link = substr_replace($link, '', $offset, $end-$offset); //Remove the jump portion } return $link; //Return the link without jump portion or just the normal link if we didn't find a jump portion } add_filter('the_content_more_link', 'remove_more_tag_link_jump'); //Add our function to the more link filter ?>
As you can see in https://codex.www.ads-software.com/Child_Themes it needs to be only the code you like to add to the functions.php :
Unlike style.css, the functions.php of a child theme does not override its counterpart from the parent. Instead, it is loaded in addition to the parent’s functions.php. (Specifically, it is loaded right before the parent’s file.)
Sorry, I should have looked better on the wordpress site, I found the info I needed here : https://codex.www.ads-software.com/Child_Themes and it works!
Thanks a lotI was looking for the same, I copied functions.php to the child theme and inserted the code directly after the ?php opening, but I get an error.
Anton, were exactly did insert the code? Did you paste it in a empty functions.php or did you copied the original and inserted the code there?
thanks for the help …This seems to be a bug, a bug ticket has been opened, so I’ll close this thread as resolved! https://core.trac.www.ads-software.com/ticket/27220#ticket
This seems to be a bug, a bug ticket has been opened, so I’ll close this thread as resolved!
Forum: Themes and Templates
In reply to: [Twenty Fourteen] menu in IEallright, thanks Salsaturation, let’s hope for a quick fix …
Forum: Themes and Templates
In reply to: [Twenty Fourteen] menu in IEThe only cause I found is the header image! I tried all sorts of thing in my test enviroment and I had the same problem using my childtheme without a custom css and with all plugins disabled, then I tried to add a header image to the maintheme and it gave the same results, the primary menu doesn’t float in IE.
Forum: Themes and Templates
In reply to: [Twenty Fourteen] menu in IEI also noticed that in firefox sometimes when you scroll one line down and you still can see your header image, the primary menu jumps to the top of the screen and were the primary menu was you get a white space. Don’t know why this happens and it’s not always the case.
Forum: Themes and Templates
In reply to: [Twenty Fourteen] menu in IEI have the same problem and started a topic about it last week, but noboby seems to have a solution or nobody cares maybe …
Forum: Plugins
In reply to: [My Optional Modules] homepage displays only latest post since updateAllright, it works again!
Thanks Matt, great plugin btw!!!I also tried it with all plugins deactivated but still the same problem. Only removing the header image fixes the problem. Isn’t there anyone who has the same problem or anyone that knows a way to fix this???