hurre
Forum Replies Created
-
I managed to fix it by pasting the following HTML code into the text widget in question. It now works perfectly ??
<!DOCTYPE html> <html> <body> <ul> <li><a href="https://doyoulikephilcollins.wordpress.com" target="_blank">Do you like Phil Collins?</a></li> </ul> </body> </html>
Forum: Themes and Templates
In reply to: [FlatOn] Editing "leave a comment" link textAny ideas? Anyone?
Forum: Themes and Templates
In reply to: [FlatOn] Creating a stand out leave a comment buttonThere you go. Good luck!
Forum: Themes and Templates
In reply to: [FlatOn] Creating a stand out leave a comment buttonGreat and thank you very much for all your help, paulwpxp ??
Also, for future reference if anyone else wants to create a stand out leave a comment button, here is the code I wrote in style.css in my child theme of FlatOn, to create a comment icon next to the leave a comment link:
.comments-link::before { content: "\f086"; font-family: FontAwesome; color: green; vertical-align: middle; margin-right: 8px; font-size: 30px; }
Also I used this code below:
.entry-footer a { color: #6D6D6D; font-size: 17px; }
to change the colour and font-size of the “Leave a comment” link.
Forum: Themes and Templates
In reply to: [FlatOn] Creating a stand out leave a comment buttonI have now deleted the exact line of code you suggested and also deleted the , PHP_INT_MAX. Seems to have worked. Although I see no difference. So now the code looks like this:
<?php add_action( 'wp_enqueue_scripts', 'enqueue_child_theme_styles' ); function enqueue_child_theme_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); }
And yes I have the site backed up via my host, they do backups once per hour. And I do backups own my own as well. I’m familiar with FTPing also.
Appears to be only one instance of themes/flaton-child2/style.css now. What now? What is the benefit of this?
Forum: Themes and Templates
In reply to: [FlatOn] Creating a stand out leave a comment buttonOk, thanks again for your reply. But just to be clear, what exactly/which line of code should I delete? Last time I messed with the functions.php file it crashed my site. See code snippet below from my functions.php file:
<?php add_action( 'wp_enqueue_scripts', 'enqueue_child_theme_styles', PHP_INT_MAX); function enqueue_child_theme_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_uri(), array('parent-style') ); }
Forum: Themes and Templates
In reply to: [FlatOn] no social links displayed even if some have been setHave u tried clearing the cache in any caching-plugin that you are using? That has worked for me before in similar situations.
Forum: Themes and Templates
In reply to: [FlatOn] Editing "leave a comment" link textAny my site is: filmfredag.se
Forum: Themes and Templates
In reply to: [Customizr] How to find a line number for an error.You could install the plugin Advanced Code Editor – it will show line numbers, among other things, in the editor.
Good luck!
Forum: Themes and Templates
In reply to: [FlatOn] Creating a stand out leave a comment buttonpaulwpxp: Ok, I managed to get the code snippet you posted to work in the child theme style.css – it looks great! (However, I had to add two lines of code) – either way thanks a lot for that. I now have a nice green comment icon next to “leave a comment” ??
But I haven’t quite figured out this HTML header business. Not sure where to start? Any pointers?
Forum: Themes and Templates
In reply to: [FlatOn] Creating a stand out leave a comment buttonHi paulwpxp.
Thanks for your reply.
However, I have no idea how to delete the double themes/flaton-child2/style.css.
I have no header.php file in my child theme. Do I need to create one and edit the code in it? Also I find no double mention of flaton-child2/style.css in the header.php of the parent theme.
Forum: Themes and Templates
In reply to: Creating a child themThank for your reply and suggestion. I tried using the guide in the codex (and adjusting to my own theme info, etc) to no avail.
Now I also got the error code: “Parse error: syntax error, unexpected ‘)’ in /www/webvol6/ni/iad6vn50wlriq0u/smalfilmsmekka.se/public_html/wp-content/themes/twentyfourteen-child/functions.php on line 1”
Any ideas?