cimenta
Forum Replies Created
-
Forum: Plugins
In reply to: [Enlighter - Customizable Syntax Highlighter] custom background color?It works now. I downloaded your css and added
/* First line bold */ ul.greenEnlighterJS>li:first-child{ font-weight: bold; font-size: 14px; margin-bottom: 1cm; background-color: #4cf55a; }Thank you for your help
- This reply was modified 9 years ago by cimenta.
Forum: Plugins
In reply to: [Enlighter - Customizable Syntax Highlighter] custom background color?I tried now with 2016 with the same result. I am using Thesis theme.
Now I also tried your green.css and it didn’t work. 🙁

So I guess I am doing something wrong. Any idea what?
Forum: Plugins
In reply to: [Enlighter - Customizable Syntax Highlighter] custom background color?hm, with the beta there is no error but the background is not the same like with wootwo.
If I refresh the page for a sec the background is there but then it disappears and there is no background.
Forum: Plugins
In reply to: [Enlighter - Customizable Syntax Highlighter] custom background color?ok, so I made a progress. I did exactly what you said.
I downloaded MooTwo.css
named the file green.css and placed in/wp-content/themes/<my-wp-theme>/enlighter/directory
renamed mootwo string to green
created new post and used enlighter
I am able to see gree/ext theme but the theme doesn’t give me the same result as mootwo. I did not change any content except the name.If I go firebug there are errors when I load the page
The resource from “http://zxy.com/wp-content/plugins/enlighter/resources/http:/zxy.com/wp-content/themes/thesis/enlighter/green.css?ver=3.3” was blocked due to MIME type mismatch (X-Content-Type-Options: nosniff).
Forum: Plugins
In reply to: [Enlighter - Customizable Syntax Highlighter] custom background color?so I need to update
wp-content/plugins/enlighter/resources/EnlighterJS.min.cssthen. Only this file?Forum: Plugins
In reply to: [Enlighter - Customizable Syntax Highlighter] custom background color?I renamed the file I found on the disk. I did not use the file from github.
I can see that they look different though
Forum: Plugins
In reply to: [Enlighter - Customizable Syntax Highlighter] custom background color?no, I found mootwo.css in
/wp-content/plugins/enlighter/views/themes/mootwo.cssand there is no string like mootwo inside the file
Forum: Plugins
In reply to: [Enlighter - Customizable Syntax Highlighter] custom background color?I copied mootwo.css over green.css and deactivated / activated the pluging. I did not modify green.css at all.
I cannot see green theme in the settings. What did I do wrong?
Forum: Plugins
In reply to: [Enlighter - Customizable Syntax Highlighter] mark text as boldI thought so…
What about custom template? I want basically first line to be in bold. Could be done somehow?
Forum: Plugins
In reply to: [Enlighter - Customizable Syntax Highlighter] custom background color?I’ll try. Thank you
Forum: Plugins
In reply to: [Enlighter - Customizable Syntax Highlighter] custom background color?Hi Andi
what does it mean? To use external theme? Can I create my own? How?
Thank you
Radek
Hi Joe
I mean that calendar and events will have two language versions. I guess I have to create two events. That’s fine but what about calendar and interface of the calendar and booking process. I need all these to be in two different languages.I am going to use Polylang. I didn’t think that I would use Polylang for the calendar/booking too.
Thank you
RadekForum: Hacks
In reply to: How to create custom home page via plugin?I got is sorted out by replacing the page template via
// Filter to replace the template of the home page add_filter( 'template_include', 'replace_home_page' ); function replace_home_page( $template ) { if ( is_front_page() ) { return plugin_dir_path( __FILE__ ) . 'new_template.php'; } return $template; }Thank you for you help
Forum: Hacks
In reply to: How to create custom home page via plugin?Thank you for your reply.
I am not sure if I can use your suggestions …. I don’t need to create new wp page. The page will be created by the plug-in.
When I used this code
add_action('wp_head', 'new_front_page'); function new_front_page(){ if (is_front_page()){ echo 'is_front_page():'.is_front_page(); } } }I am almost where I want to be except that the theme is adding the page content too. So I need disable that somehow. Any idea?
Thank you
Rl
Forum: Plugins
In reply to: Can I have custom plugin repository?somebody would know? R.