thewhiskytrials
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to automatically remove HTML from posts (as they are posted)?Ah OK. I think editing the emails before you send them and take out any bits you don’t want is the best idea.
Forum: Fixing WordPress
In reply to: Fade In/out background featured image when mouseover the title link.Hi again,
OK so you are using the post_class so each menu item and image container has a correlating ID that is different from the others. I think the easiest way is just to use this in the JS to display different image containers. Hopefully this works:
<script type="text/javascript"> jQuery(document).ready(function($){ $("ul.project-title li a.post-xx").hover( function() { $(".image-container.post-xx").toggle(); } ); $("ul.project-title li a.post-xx").hover( function() { $(".image-container.post-xx").toggle(); } ); $("ul.project-title li a.post-xx").hover( function() { $(".image-container.post-xx").toggle(); } ); $("ul.project-title li a.post-xx").hover( function() { $(".image-container.post-xx").toggle(); } ); </script>
So obviously replace the “xx” with you post ID’s making sure to match the menu ID and image container ID match. Create a hover function for each menu item.image container.
There is a more future proof way of using a loop in the Jquery code to loop through all your post id’s but it’s getting more complex and this should get you started at least.
Forum: Fixing WordPress
In reply to: How to automatically remove HTML from posts (as they are posted)?Hi,
So can you not just delete that stuff from the email before you send it to WP? I have to admit I have never used this feature.
I did find this plugin which might help you: https://en-gb.www.ads-software.com/plugins/remove-html-from-content/
Hope it works
Forum: Networking WordPress
In reply to: Display Menu from Parent Site in Child SiteHi,
Your child site it will have its own header.php. In there it will have your menu code, if using a bootstrap theme it will have a class of navbar, if the theme doesn’t use bootstrap it may be slightly different.
Either way find the block of code that gets/displays your menu and add this before it: <?php switch_to_blog(1); ?> and this after it: <?php restore_current_blog(); ?>
Pretty neat little function that! Never actually used it myself though.
Forum: Fixing WordPress
In reply to: Fade In/out background featured image when mouseover the title link.Hi @cocosua88,
Looks like you are almost there. Your loop code is fine and pulls in each featured image for each post.
However you currently don’t have anything in place that links a menu item with an image and any way there after of animating the change.
So from what I can see you need to first of all link the corresponding menu item to it’s image. This could be done using an iterator variable (i++) which is echoed as an id on each menu and image as they are looped or maybe you could utilise the post_id?
You will probably have to use a bit of Javascript to control the hover animation. So when menu with ID 2 is hovered change background to ID 2. You might be able to use CSS but maybe only with a bit of structural change on your page so you can use the “+” adjacent sibling combinator in CSS.
Hope that helps
Hi Shyam,
I think you should take a look at CoursePress. Probably does everything you want and more: https://premium.wpmudev.org/project/coursepress-pro/
Forum: Fixing WordPress
In reply to: How Do I Change Single Post Positions?Dude, get Firefox, install firebug addon and look into changing CSS. That way you will be able to find the CSS that needs to be changed.
responsive.css line 154
Change:
@media (min-width: 680px)
.main-container-sidebar, .main-container-sidebar-cc2 {
padding-right: 300px;
}to:
@media (min-width: 680px)
.main-container-sidebar, .main-container-sidebar-cc2 {
padding-right: 0;
}Forum: Fixing WordPress
In reply to: Cookies are blocked or not supported by your browser in WP 4.4.2Ok well if it was me I’d download the original files and upload them. If that doesnt do anything then look at the links to threads above.
Forum: Fixing WordPress
In reply to: Cookies are blocked or not supported by your browser in WP 4.4.2@maestro42 did you upload the files with ftp? If so were there any files missed, if you use Filezilla it tells you. Before you do anything I’d try reuploading all files and make sure they have the right permissions!
Then look at the links above and try some of the things in there.
I have to say I have never encountered this error myself.
Forum: Fixing WordPress
In reply to: Cookies are blocked or not supported by your browser in WP 4.4.2I wonder if this was a Jetpack issue. I assume you had that installed because of the “prove your humanity” on login.
Forum: Fixing WordPress
In reply to: private linkHi,
No if its a draft only you as a logged in admin would be able to visit the link and see the draft content or “preview”.
You could give them some sort of access to the admin, perhaps a contributor role or create a custom role with a plugin?
If its simply for them to review the post then Id probably just email them the text?
Forum: Fixing WordPress
In reply to: Cookies are blocked or not supported by your browser in WP 4.4.2Mmmm very strange indeed. Did you test the website for the cookie error in multiple browsers at all?
Forum: Fixing WordPress
In reply to: Many internal links are https – how do I make them http?It doesn’t matter if there is still an SSL assigned to a domain and the certs are on the server; if they are no https calls, the cert isn’t referenced.
Im not entirely convinced by that, it may depend on your hosts setup.
Forum: Fixing WordPress
In reply to: Cookies are blocked or not supported by your browser in WP 4.4.2Check out this thread: https://www.ads-software.com/support/topic/error-cookies-are-blocked-or-not-supported-by-your-browser-1?replies=18
Specifically Artems response and those after, see if that works
Forum: Fixing WordPress
In reply to: Blog posts to not appear on mobile version of siteWeird.
Well if you can reply here when a post is on desktop but not on mobile so I can try and test too.
The only other thing to try is of course posting something with no plugins enabled and the 2015 theme and see if it does the same thing?
I cant imagine its a theme thing but people do build some strange things into their themes,