Ramesh (thecodeisclear)
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WP login has disappearedWhat is the file you edited?
Forum: Fixing WordPress
In reply to: word counter and file uploaderI am not aware of any plugins, but this looks promising – https://github.com/PHPOffice/PHPWord
It is well documented and has many examples. Have a look (but it could be an overkill if you just want to read the doc and not do any processing)
One more point, are you allowing both .doc and .docx formats? Both files have different formats and are stored differently.
Forum: Fixing WordPress
In reply to: Hide Printfriendly button from homepage ?No, I meant that the plugin PrintFriendly has an option “Show on Pages” which must be turned on. The code checks for displaying the button does not handle this particular scenario (home page = OFF, pages = ON and static home page is used).
I will see if I can fix the code. I made some modifications, but I didn’t get the desired results.
Forum: Fixing WordPress
In reply to: Hide Printfriendly button from homepage ?Do you have a static home page? If so, the homepage satisfies one of the other plugin settings – “Show on Pages” and that’s the reason you see the button on the home page.
Forum: Fixing WordPress
In reply to: Hide Printfriendly button from homepage ?Are you using this plugin – https://wordpress.org/plugins/printfriendly/
From the screenshots, there is an option “Display button on”, it shows Homepage as a checkbox. Did you uncheck it and see?
Forum: Fixing WordPress
In reply to: Hide number of Comments if there are zero commentsI think the code will most likely be in the
content.phpfile. Without seeing the actual code structure, I can’t say if that is the right file. Is it possible to have a copy of the content.php (or all content-*.php) files?Forum: Fixing WordPress
In reply to: Change copyright year in custom footerDoes your theme have an options page? From the code it looks like the text
© 2012 SDA Seattle. All rights reservedis from the theme option which can be changed from the admin dashboard.I would suggest that you explore that before changing directly in code.
PS: If you do want to change the code, here is what you need to update
<li>© 2015 SDA Seattle. All rights reserved</li>(remove the
<?php ... ?>between the<li>..</li>tags and add your text)Forum: Plugins
In reply to: [WP Shortcodes Plugin — Shortcodes Ultimate] List Shortcode not workingPlease post the link to your page.
Forum: Plugins
In reply to: [WP Shortcodes Plugin — Shortcodes Ultimate] Display Image as Spoiler TitleFrom a tip I saw in another post from user GoldHatTrick, you could actually use HTML code within the title to make it an image
[su_spoiler title="<img src='http://lorempixel.com/300/20/'>" icon="plus"] .. rest of content .. [/su_spoiler]Note: Use single quotes instead of double quotes for the
img srcForum: Plugins
In reply to: [WP Shortcodes Plugin — Shortcodes Ultimate] Spoiler Not WorkingFrom the page source it appears that the shortcodes
cssfile has not been loaded at all.It may sound cliched, but can you delete and re-install the plugin to see if it works?
Are there any other plugins that affect how CSS is loaded?
It is quite puzzling. Can you also post the shortcode that you used?
Can you tell me where you are adding the custom CSS? You should add it under the plugins’ settings page and not in the child theme’s custom css.
http://thecodeisclear.in/wp-content/uploads/2015/03/css-settings.png
The shortcodes CSS overrides the theme’s custom.css and this could be the cause of the problem.
Forum: Plugins
In reply to: [WP Shortcodes Plugin — Shortcodes Ultimate] spoiler title@pankaj_vnt – the solution from @goldhattrick would work really well without having to make any code changes.
[su_spoiler title="<span style='color:#f36f0c'>Jour 01 :</span><span style='color:#009c12'>Arrivée à New Delhi (l’organisation de ce premier jour peut varier en fonction de vos heures d’arrivées)</span>" color="#f36f0c" style="fancy" icon="chevron"]PS: I see that you have implemented it in your site.
Hi,
When looking at the custom.css file, I can only see the following code
.book-barry2 a:hover { text-decoration: underline; }I don’t see the declaration for the
atag. Here is what I have done and the resultIn Post text
<a href="/bookings">[su_note note_color="#c1122f" text_color="#ffffff"][su_service icon="icon: edit" size="63" title="Book Barry" class="book-barry2" icon_color="#ffffff"][/su_service][/su_note]</a>Custom CSS
.book-barry2 a { font-size: 44px; color: #ffffff; } .book-barry2 a:hover { color: #E6DB74; }Result
http://thecodeisclear.in/wp-content/uploads/2015/03/sshot.pngPS: For some reason, the icon doesn’t change color even if I explicitly add a hover to the fa-edit class
.book-barry2 .fa-edit:hover { color: #E6DB74; }Forum: Plugins
In reply to: [WP Shortcodes Plugin — Shortcodes Ultimate] spoiler title@daniel75321: You could give your spoilers a custom class (let’s call it
pseudoh2). Your spoiler shortcode would look something like this.[su_spoiler title="Preguntas Frecuentes" class="pseudoh2"]¿Qué tipo de anestesia se aplica? La cirugía de implante mamario se realiza mediante anestesia multimodal, es decir mediante la combinación de sedación endovenosa o anestesia general, siempre combinada con anestesia local.[/su_spoiler]Then from your admin dashboard, click on Shortcodes > Settings > Custom CSS and add the following code
.pseudoh2 .su-spoiler-title { font-size: 47px; font-weight: 300; text-transform: uppercase; }Basically, what I have done is changed the spoiler title CSS to match the H2 of the theme. If you change your theme, you will need to update this portion as well.
@chezsheles: I will have a look on Monday and help you fix this. Could you send a link like you did the last time?