Forum Replies Created
-
AuthorPosts
-
MooseintheUKMember
Ahh no i had not seen this. Strange i didnt find it, but oh well. Its been a long week!
Thanks for the link Anita.
MooseintheUKMemberDid anyone figure out this issue yet, im having the exact same problem, only difference is im not using a studiopress theme for genesis, im building my own from scratch using genesis framework.
MooseintheUKMember1) the featured image on the 404 page is the SAME as the BLOG page.
2) according to the code this should NOT be happening. [see above comment for code]
3) Usually in similar situations i would use the page-id-# to do this, BUT the 404 page DOESN'T have a page-id-#, instead it has the class of .error404 which doesn't work. EG:
eg: // this works if page has an id-#
<?php if ( is_page( '#' ) ) { ?>// so i tried this
<?php if ( is_error404()) { ?>// & this
<?php if ( is_page( 'error404' ) ) { ?>// neither works, so you cant use that class like you can front_page or home.
4) I DO NOT want to remove the featured image from the 404 page COMPLETELY.
5) I want to change the featured image on the 404 page to its own image, preferably being able to incorporate it into my existing code for featured images to keep things tidy.I literally cant spell it out any plainer than that.
MooseintheUKMemberfor example, since for some reason i cant set the featured image from the wordpress page itself, im using this loop:
<?php
if (is_home()) {
?>
[image tag]<?php
}
else {
echo the_post_thumbnail('post-image');
}
?>but its displaying the above image on the 404 page as well. Last time i checked, is_home doesnt apply to anything other than the blog page.
MooseintheUKMemberUmmmm, the featured image... The 404.php page is using the same featured image as the blog page.
MooseintheUKMemberAlas, i dont want to remove it. Well, my boss doesnt want me to remove it.
MooseintheUKMemberHaa i suppose. It is a child of the framework though, and its a theme. Custom genesis theme is perhaps less confusing! (Y)
Fair enough. cheers!
MooseintheUKMemberI only use the framework, i dont use any of the themes as the framework basically only includes the structural css and the responsive code to go with it, which is all i want apart from the ease of use when it comes to functions/hooks. There is no styling to remove, apart from some link css and padding/margins here and there, but thats overwritten in the child theme in about 5 seconds.
Soooo do you know why they were removed or not?
MooseintheUKMemberOf course im using a child theme! Thats wordpress web dev 101! But the Genesis framework style sheet is hooked in through the functions so i could use the structural classes when needed!
Do you know why they were taken out? Im puzzled why they would take out some core structural css classes - they were so useful!
MooseintheUKMemberI cant find anything about them being taken out anywhere on the studiopress site, but they definitely are not in the style sheets anywhere in the genesis framework!
-
AuthorPosts