brad_magnus
Forum Replies Created
-
Forum: Plugins
In reply to: [Logo Slider] Only 1 logo is showingI’m having the same problem with only one logo showing up. I fixed it by overwriting the CSS with “li.slide img{display: inline-block; padding-right: 40px;}”
But that doesn’t seem like a permanent solution. Any suggestions on why it’s display:block;
Again Tom, you are freaking on top of this stuff! Thank you so much for not only a great plugin, but fantastic support!
That’s what it was! The
return
wasn’t in the right spot.Thank you for the response!
Forum: Fixing WordPress
In reply to: Set the parent of a custom post typeI attempted to use
hierarchical
argument withsupports
as shown in the codex. But that only allows me to make a CTP post a child of another CTP post. I need the entire CTP to be a child of a page, not a child of the blog. I really hope this is possible…Forum: Plugins
In reply to: [Smart Layers by AddThis] Don't show on home pageThanks @srijith.v! I do have a static front page. I’m building a custom theme based on Reverie: https://themefortress.com/reverie/ and I’m pretty sure that I’ve got things set up correctly. I might just go for the code from addthis.com, though since even though I added that code to the
footer_home.php
it’s still visible on the home page.I’ll email you if I can’t get that to work properly. Thanks for being so willing to help out!
Working seamlessly! Thank you for your help!
Above you mentioned applying it to just one slider, so it doesn’t interfere with any others. I see the $slider_id, but how do I use that to say only on this one slider? I might try your suggestion of hijacking the URL field.
I was typing my response when you updated the functions code, thank you!
So I put that code into functions, and it isn’t affecting the HTML
<div id="metaslider_container_2106"> <div id="metaslider_2106" class="flexslider"> <div class="flex-viewport" style="overflow: hidden; position: relative;"> <ul class="slides" style="width: 600%; margin-left: 0px;"> <li style="display: block; width: 300px; float: left;"> <a target="_self" href="#"> <img class="slider-2106 slide-2112" width="300" src="https://localhost/wp-content/uploads/2013/11/video_happier-274x0.jpg" draggable="false">
I just updated to the latest version a few moments ago. Sorry for being difficult. Thanks so much for the help!
Forum: Plugins
In reply to: [Smart Layers by AddThis] Don't show on home page@srijith.v For various reasons, I have a footer_home. Adding the above code doesn’t hide the it on the home page though. Doesn’t that add it?
Maybe the best plan then is to use the code from your site, add it to the footer, and leave footer_home blank? Is that how the code works?
To make the modals work with Foundation, you put a div at the end of the page with an id eg “myModal”. So ya, the #SLIDE_ID# would work great I think. I’d just have to make sure the id’s match up.
I’m having a hard time with the code above though. Here’s how it is my functions:
add_filter('metaslider_flex_slider_anchor_attributes', 'metaslider_rel_attribute', 10, 3); function metaslider_rel_attribute($attributes, $slide, $slider_id) { // to get the slide ID, use: $slide_id = $slide['slide-2112']; // add data-reveal-id attribute to <a>, with a value of 'myModal' $attributes['data-reveal-id'] = 'myModal'; return $attributes; }
Here’s some of the page HTML:
<div id="metaslider_container_2106"> <div id="metaslider_2106" class="flexslider"> <div class="flex-viewport" style="overflow: hidden; position: relative;"> <ul class="slides" style="width: 600%; margin-left: 0px;"> <li style="display: block; width: 300px; float: left;"> <a target="_self" href="#"> <img class="slider-2106 slide-2112" width="300" src="https://localhost/wp-content/uploads/2013/11/video_happier-274x0.jpg" draggable="false">
It’s not adding the attribute?
Awesome support Tom!
I’m sorry, but I need just a bit more explanation. Adding this to the functions I’m hard coding the data-reveal-id correct? So if I have 3-5 slides in a carousel, how should I approach that? And this doesn’t add a field to the slide on WP admin, it would have to be updated in the functions file?
Great support and great plugin!
I guess if you don’t specify width and height, the plugin scales to 100% width? Whatever the reasoning, adding dimensions fixed the issue. (previously I had included “px” in the dimensions that also causes 100% width)
Sorry for the false alarm. I love this plugin!
I’m focusing on NextGen to try to get that installed…
I did as you suggested. Deactivated, switched to twenty thirteen, and still got the same
fatal error
While installing the dashboard warned me about using the plugin with wp 3.7. Does it not work on 3.7?
Thanks tizz, but that’s not what I’m getting at. I did try installing and activating them separately. But as I tried them individually, they both gave me the same error.