Forum Replies Created
-
AuthorPosts
-
asbilly92
ParticipantThis is the code that ultimately FIXED my issue:
//add custom post type to tags and categories function add_custom_types_to_tax( $query ) { if( ( $query->is_category() || $query->is_tag() ) && $query->is_main_query() ) { // Get all your post types $post_types = array('post' , 'my-custom-post-type'); $query->set( 'post_type', $post_types ); } return $query; } add_filter( 'pre_get_posts', 'add_custom_types_to_tax' );
**Above code came from: Post where code came from
February 19, 2016 at 7:14 am in reply to: Navigation not showing up on category archive pages #179384asbilly92
ParticipantOMgosh!! I just have to say THANK YOU THANKS for this post thread!!
I just had the exact issue, been struggling with it for 2 days; after finally getting my CPT's to show up in the archives then poof my nav menu went bye bye agggg, BUT this fixed it!!!
Be lost without these forums!!
asbilly92
ParticipantSorry, I just wanted to add that these are CUSTOM POST TYPES, that I made with a plugin... that seems to be the problem maybe, but I need help with the code to get these custom post types working with they show up in archive pages. I got some code from a blog post but it does really odd stuff to the Admin area and gives me a heart attack!
asbilly92
ParticipantOK I understand that part, and thank you; but what will it mean for people like me as far as producing and editing a theme, using php etc... will be still be using the same skills to help make and customize the theme like utilizing php, html, css?
I read somewhere that developers will need to not use php or as much php and learn node.js.....is this part true? Another
language to learn for developers??
September 17, 2015 at 1:49 pm in reply to: Author Pro genesis nav menu css at smaller viewport #165924asbilly92
ParticipantOk great thanks, that's what I thought 😉
September 17, 2015 at 9:57 am in reply to: Author Pro genesis nav menu css at smaller viewport #165890asbilly92
ParticipantUPDATE ...
I made an adjustment...I copied all of the css that was related to the location of the Geneses nav menu from the @media only screen and (max-width: 980px) and added it also to the @media only screen and (max-width: 1200px), this seems to have fixed my issue, but is it wrong to have the same code in both media queries?
Should I take it out of the 980 one or can I just leave it there?
asbilly92
ParticipantPerfect, thanks!
asbilly92
ParticipantYeah! You are awesome, thank you 😉 I will give it a shot !!
July 7, 2015 at 4:49 am in reply to: Footer credits: moving them to below widget areas in footer #158631asbilly92
ParticipantYes, I did, I was actually trying to put 6 widget column areas inside the footer; yet still wanted to retain the footer credits below that.
I made my 6 footer widgets with Genesis Extender (can't live without that one lol) and then hooked them into the genesis_footer.
I then made a class and assigned it to the paragraph tag surrounding the copy-wright that contained a clear:both which forced it below the widgets. You can see it here and use Developer Tools to look at the copy-wright line: http://www.djccoreconsulting.com
asbilly92
ParticipantOk i will do that, and post back thank you !!
asbilly92
ParticipantOk great thank you! Do you know if I do follow one of those above code snippets will I have to make a 301 redirect from the how the page is now (without the ssl?) like directing it from http://www.mydomainnamedotcom to https:www.mydomainnamedotcom??
asbilly92
ParticipantHere's the error I received when I tried the RSS Feed Widget that comes by default with my Genesis installation:
The error said: Fatal error: Unknown: Cannot use output buffering in output buffering handlers in Unknown on line 0
December 4, 2014 at 1:29 pm in reply to: Error message I got when I installed Genesis Extender Plugin #133616asbilly92
ParticipantNope, sorry I just saw this! I never did figure it out, the message is gone now and Genesis Extender seems to be working just fine...should I be concerned about it??
asbilly92
ParticipantThank you, I ended up solving it by using the unique body class and then site tagline - display none. It's a small site so this is so easy for me to do and then I can still easily have the site tagline on any page that I want 😉
asbilly92
ParticipantOk I tried this and it didn't work 🙁 but you did say that you hadn't tried it so...do you think it's just a tweak in your code maybe?
asbilly92
ParticipantThat worked perfectly, thank you!
I wonder if there is a way to have the site-description only show on the home page?
asbilly92
ParticipantOH wow thank you! I will give it a shot tomorrow!
asbilly92
ParticipantOk so it's ONLY designed right out of the box to be a background image? It can't be just a nice big huge full width image that ends somewhere before the footer?
Or is this what I need to do? See link below...
Setting up a responsive image in place of background in Minimum Pro
asbilly92
Participantasbilly92
ParticipantYep, that was my conclusion.
Thank you for trying tho, just wanted to make sure there wasn't something I was missing...
-
AuthorPosts