JCKnoell
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Loading script only on homepageSo, is this located inside of functions.php?
It seems every time I try to add something to my functions.php (Yes, I’m using a child) it breaks my website… Is there anywhere else I can put this?
Also, what parts of that code do I need to customize? obviously the information inside the wp_enqueue_script() brackets needs to be for my scripts. Is everything else the way it should be? (I don’t know php or javascript very well… haha)
What is get_template_directory, for example?
Also, can I do this twice? once for each script that is on my home page?
Thank you so much for your help. ??
Forum: Themes and Templates
In reply to: Theme breaking lightbox pluginSorry. Thanks. ??
Forum: Themes and Templates
In reply to: [Customizr] Where is the style.css?Haha! That’s hilarious. Well, either way it was helpful. I’m using jetpack on a subdomain, so it probably wouldnt be an issue here, but it’s a good thing for me to check on with that site anyway.
Forum: Themes and Templates
In reply to: [Customizr] Where is the style.css?Yes, I kinda wondered if that were the case…
Hey, thanks for the headsup on the plugin. I hate Jetpack cause it’s so bulky and there’s no way to turn off individual features, but it’s the only one I could find that works the way I wanted for social sharing and comments..
Thanks!
Forum: Themes and Templates
In reply to: [Customizr] Where is the style.css?Well that seems somewhat convoluted. I guess I’ll just open it in textpad or something and save it to my desktop.
Well thanks for your help! ??
Forum: Themes and Templates
In reply to: [Customizr] Where is the style.css?Yes, I understand this. I am using a child theme, but I wanted to be able to access the original style sheet through WP purely for convenience while making changes so that I can reference the current state of the CSS. I won’t be editing it, just using it to know what is currently being used. ??
Do you know where I can find it for this purpose?
Forum: Themes and Templates
In reply to: [Customizr] Where is the style.css?Thanks! ?? I did figure this out eventually.
Is there a way this is avilable from the wp-admin back end? I could only find it whil going through my cpanel, but I’d prefer to have access through WP… Is that possible?
Forum: Themes and Templates
In reply to: [Customizr] Where is Customizr CSS Style sheetI am well aware of how to use the developer tools, but why can’t you just post where the css file is? Wouldn’t that have been helpful here?
Forum: Fixing WordPress
In reply to: Admin page is missing completelyThanks Tara. It was a plugin issue… as I figured it would be.
I changed the name of my plugins folder in mt ftp to plugins-fix and then it let me log in. after that, I deactivated all my plugins, then reactivated them one by one, logged out and tried logging back in. It was a stupid security plugin called iThemes security.
Forum: Plugins
In reply to: [Collapse-O-Matic] Arrow not showingI’ll let Baden answer this one, but with the code posted it should be much easier to find an issue. Good luck! ??
Forum: Reviews
In reply to: [Timeline] Broke theme, error messageI’d still very much appreciate some sort of thumbnail though for when there is a vid/pic… Can we do that instead? ??
Forum: Reviews
In reply to: [Timeline] Broke theme, error messageHere’s my fix, which worked. Go to “editor” under the plugins tabs on your admin panel. Find the timeline plugin and search for the following code:
if($imgSrc!= '')
Underneath there, you’ll see the if/then statements which say if there is a video, display “event video”, else display “No video”.
Just either delete the “no video” text or put comments around it so it’s not read. E.g. the following:
if($imgSrc!= '') { $timeline_text .= '<li> <a href="'.$imgSrc.'" rel="prettyPhoto"> Event Image </a> </li>'; } else { $timeline_text .= '<li><!--No Image--></li>'; } if($video['0']!= '') { $timeline_text .= ' <li> <a href="'.$video['0'].'" rel="prettyPhoto"> Event Video </a> </li>'; }else { $timeline_text .= '<li><!--No Video--></li>';
Forum: Reviews
In reply to: [Timeline] Broke theme, error messagehttps://www.bebraveinfertilityjourney.com/wp-content/uploads/2014/05/Capture.jpg
This is what he means. It says “no image” or “no video” if there isn’t one there…
https://www.bebraveinfertilityjourney.com/sample-page/timeline/Can we instead put a thumbnail there if there IS a pic? Or some sort of callout so they know there’s one there?
And then remove the error if there isnt… ??
Forum: Plugins
In reply to: [Collapse-O-Matic] Arrow not showingCan you post the source code for the page? Right-click on the page and click on view source, then copy and paste it here.
OR
simply post the code directly from your “edit Page” within wordpress.
Forum: Plugins
In reply to: [Collapse-O-Matic] On collapsing, a space is introducedSo, here’s my thought. Create a separate class for the gazette page and only use the padding and margins to style that one, effectively leaving the page with La Palma alone.
For example: On the gazette page, just above the expander shortcode, input this code: <div class=”gazette-expander”>
Then below the expanders, make sure to add your </div>Then on your style sheet, replace
.collapseomatic_content { margin-top: 20px; } .collapseomatic { margin-bottom: -30px; }
with
.gazette-expander .collapseomatic_content { margin-top: 20px; } .gazette-expander .collapseomatic { margin-bottom: -30px; }
This way, it will only style the collapseomatic class WITHIN the gazette-expander class. This should leave the other pages with your plugin alone.
Let me know if that works!