trinejuel
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Ads –?Ad Manager & AdSense] Updated plugin and ads disappearedWorks again, without changing anything.
Forum: Fixing WordPress
In reply to: Published image file sizes larger than uploadedThanks for all the help!
Is there no way to prevent WordPress from increasing the file size though? Perhaps defining a setting that makes it compress all images to 100 KB?
Otherwise I have to reexport and reupload all images on my site in the exact size (and I have more than 500 blog posts, sigh)
Forum: Plugins
In reply to: [Simple Share Buttons Adder] Hide share label on mobileDoes anyone know how I can add a class to the share label?
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Sign-up form not working in widgetI see! That must be an old class.
Thank you so much for the help!I’m having this exact same problem.
Randomly my site redirects to “install”, then after some time it’s back up running and everything works except all the links on the site! Then if I go to “permalinks” and save, the links work again.Did you solve the problem?
Thank you so much for your patient help, @linux4me2!
I’ll alter the images for higher resolution, what is the max. size you would recommend?I discovered the reason why it wasn’t working!
This code didn’t work because the ’ symbols were wrong.
<?php if (is_front_page()) { if (function_exists(‘soliloquy’)) { soliloquy(‘7917’); } } ?>
When corrected to this, it works perfectly and only shows the slider on the frontpage:
<?php if (is_front_page()) { if (function_exists('soliloquy')) { soliloquy('7917'); } } ?>
Hi,
I’ve added your altered code.
The front page now says that Soliloquy function does not exist. Odd!Hi again,
I have no Pinterest widgets installed. However, I do have a share plugin that has a Pinterest share button in it, so following your advice I have first deactivated this plugin. The Soliloquy slider still did not appear. Does the javascript error still appear?
Secondly, I have added your altered code. The homepage does now indeed say “frontpage is true” and the other pages say “frontpage is false”. Still no slider showing.
- This reply was modified 8 years, 1 month ago by trinejuel.
Hi linux4me2,
Thank you so much for your reply.
I gave your snippet a try, but the slideshow doesn’t show up on any pages now.
It is the actual blogroll that I want the slideshow to appear on, i.e. https://www.test.bageglad.dk.<div id="slideshow"> <?php if (is_front_page()) { if (function_exists(‘soliloquy’)) { soliloquy(‘7917’); } } ?> </div>
Hi @linux4me2,
Thank you so much for your answer.
I think I need some help in how to add the slider code to your snippet.
I tried a few things, and since I know nothing about php, haven’t managed to make it work ??
The code for the slider is: <?php if ( function_exists( ‘soliloquy’ ) ) { soliloquy( ‘7917’ ); } ?><?php
if (is_front_page()) {
<?php if ( function_exists( ‘soliloquy’ ) ) { soliloquy( ‘7917’ ); } ?>
}
?>
(yeah, that didn’t work)Thanks!
Hi @akyusa01,
I think I was wrapping the code wrong, at least your code did the trick!
Thanks so much for your help.Forum: Plugins
In reply to: [Related Posts by Sovrn] Margin between post and H3Hi, I’m experiencing the same issue.
I need to add padding between the title and a border which all my titles have, so the above solution doesn’t work for me as it only fixes the padding issue.
The plugin CSS has !important for .related_post_title which is why I can’t overwrite it. What to do?
PLUGIN CSS:
.zem_rp_wrap .related_post_title {
clear: both;
padding: 0 !important;
margin: 0 !important;CUSTOM CSS:
.related_post_title {
font-size: 18px;
font-weight: bold;
margin-bottom: 25px !important;
margin-top: 50px !important;
color: #4A4A4A;
padding-bottom: 10px !important;
border-bottom: 1px solid #eee;
text-align: center;Forum: Fixing WordPress
In reply to: Facebook Like button conflicts with drop-down navigationThank you so much Josh!
This solved my problem.Forum: Fixing WordPress
In reply to: Facebook link image disappearedHere is an example of a post where the featured image doesn’t show on facebook:
https://www.bageglad.dk/chokolade-smoercreme/