bmwboarder
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Determine when accessing page?Nice! That works! Thanks for helping me through that.
I don’t think I added “global” inside the header last time. Many thanks, that is nice to have working!
Brandon
Forum: Fixing WordPress
In reply to: Determine when accessing page?If it is a function, wouldn’t it have access to a global variable stated before the function?
My project index page which is an index of a custom post type doesn’t have the “current-menu-item” in the main navigation. I can fix it like this (an example that does fix another page):
<?php if($post->ID==7){?> <style type="text/css"> #bottom_nav .menu-item-110 a { color: #333; } </style> <?php } ?>
But I can’t find anything to fit in the if statement that actually recognizes when it is on that page. I figured I could do basically the same thing with a php variable, but I haven’t gotten that to work either. Thanks for the help.
Forum: Fixing WordPress
In reply to: Determine when accessing page?I tried that, and still no luck. Does the get_header() not act as an include? I thought for sure it would work, I’m a little mystified why it doesn’t. I couldn’t get it to pass a global variable at all to the header.
Forum: Fixing WordPress
In reply to: Determine when accessing page?Actually, just in case anyone reads this… setting a php variable doesn’t work either, though I thought it would. So I still don’t have a good solution, but I’m done worrying about it.
Forum: Fixing WordPress
In reply to: Determine when accessing page?Thanks vtxyzzy. I tried that (I meant a 5 in the example above), but it doesn’t work.
I ended up working around it by just setting a php variable in the php template file, before the header file is called. Probably not the simplest, but it works. Thanks for replying ??
Brandon
Forum: Alpha/Beta/RC
In reply to: Missing current_page_parent css class for custom post typesAcafourek, thanks for posting this. It has helped me get the custom posts highlighted, and I like that it doesn’t add another http request.
Do you know how I can get a parent page of all the custom post types to also have the styling? I have a portfolio index (mostly controlled by a plugin) and then individual projects, which I’ve gotten to work with the is_singular(). I’m almost there, but I can’t figure out how to determine when it is loading the project index. Thanks for any help, and for posting what you already have.
Brandon
Forum: Fixing WordPress
In reply to: Setting php page parent levelThanks Rev Voodoo. That gives me some direction to go at least.
I did set up a page in the wordpress admin, for both the project index and press. I’ve seen the press page work while I was creating it, so I think it has something to do with it using only custom post types, as I’m trying to make it as much of a cms as possible.
I’ll see what I else I can find today.
Forum: Plugins
In reply to: [Meteor Slides] [Plugin: Meteor Slides] broken slide transitionAlright. Thanks JLeuze. I appreciate all your help.
Forum: Plugins
In reply to: [Meteor Slides] [Plugin: Meteor Slides] broken slide transitionOk, that is close. The fade is better now with height/width in the settings. (maybe even better than earlier today too). I have a semi fluid layout, but it doesn’t work when I set a specific width. Is there anyway to set it to auto? I can have a constant height though.
If needed I can kill the flexible layout though ?? Thanks for all the support.
Brandon
Forum: Plugins
In reply to: [Meteor Slides] [Plugin: Meteor Slides] broken slide transitionI figured out that it breaks pretty bad when I add a height: 421px to #meteor-slideshow .slide for whatever reason.
I’ve got it how I want it to look again, and the flicker is gone in firefox and chrome, but now IE goes completely white as a transition. Any ideas? I’ll keep playing around with eliminating things, but I’m hoping it is something simple I accidentally added…
Thanks,
BrandonForum: Plugins
In reply to: [Meteor Slides] [Plugin: Meteor Slides] broken slide transitionI will definitely do that this time. Thanks!
Forum: Plugins
In reply to: [Meteor Slides] [Plugin: Meteor Slides] broken slide transitionThanks for the assistance.
With the new files, the flashing is gone, which is very nice to see. The css is broken a bit now, but it shouldn’t take me too long to rebuild that. I’ll post a link again when it is completely fixed, or I’ll have more questions ?? Many thanks, you support your plugin very well.
Brandon
Forum: Plugins
In reply to: [Meteor Slides] [Plugin: Meteor Slides] broken slide transitionThanks for your quick replies. I will make a donation for this great work when its finished.
Should I just save my current meteor-slide files elsewhere and drop those new files in the plugin folder instead?
Forum: Plugins
In reply to: [Meteor Slides] [Plugin: Meteor Slides] broken slide transitionThanks for the response. I turned off the two extra javascript, and that hasn’t changed anything. They are relatively small files I wrote for some of the pages on the site.
I think you might be onto something with the missing height and width. I did change that, because I have two sets of meteor slides, and I wasn’t able to get them to be different sizes apart from deleting those. Is there a way I can control that per page?
Here is my big slider:
https://www.ranacreek.com/dev/And one of my smaller ones (which there are many of):
https://www.ranacreek.com/dev/projects/california-academy-of-science/I understand the speed controls, and will end up changing it back to about 400ms, but changed it so its easier to test. Thanks for the quick response!
Forum: Plugins
In reply to: [Meteor Slides] [Plugin: Meteor Slides] change overflowThanks JLeuze,
I’ve got the fluid layout working great now in all browsers. The only thing left is that the transitions don’t seem to be as good as they were before. Not unbearable, but not like the jquery cycle example page at all. Thanks for looking at this with me ??
Brandon