This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function myremove_parent_filters(){ | |
remove_filter('the_password_form', 'et_password_form'); | |
} | |
add_action( 'after_setup_theme', 'myremove_parent_filters' ); | |
function myet_password_form() { | |
$pwbox_id = rand(); | |
$form_output = sprintf( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
All Extra thumbnails sizes are listed in one file: core.php. It's possible to redefine all of them or just few by adding the following code into functions.php file in child theme: | |
In the array above you can see the sizes for different pages/modules. Just modify what you need. That's it. | |
I'd suggest connecting to your site via FTP to make these changes, it will be easier to rollback the changes if you make a syntax error. It is better to use a child theme to make PHP changes. I attached the child theme file at the end of my message. | |
Let me know how it goes. 😃 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p style="text-align: center;"><span style="text-decoration: line-through; font-size: 26px;"><strong style="color: #333333; text-align: center; text-decoration: line-through;">9 990 Ft helyett</strong></span></p> | |
<p style="text-align: center;"> <strong style="color: #333333; font-size: 22px; text-align: center;">csak 7 490 Ft</strong></p> | |
<span style="font-size: 14px;">Havonta fizetendő</span> | |
Teljes hozzáférés a Kisiskola szoftveréhez |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php $args = array( | |
'numberposts' => '1', | |
); | |
$recent_posts = wp_get_recent_posts( $args ); | |
foreach( $recent_posts as $recent ): | |
$post_id = $recent['ID']; | |
$post_url = get_permalink($recent['ID']); | |
$post_title = $recent['post_title']; | |
$post_content = $recent['post_content']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
jQuery(document).ready(function(){ | |
jQuery(".menu-item-language.menu-item-has-children").addClass('first-level'); | |
jQuery(".menu-item-language .sub-menu li").addClass('second-level'); | |
jQuery('.menu-item-language.menu-item-has-children a[title="EN"]').click(function(event){ | |
event.preventDefault(); | |
}); | |
}); | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Color Scheme - Green - Replace */ | |
.et_color_scheme_green a { | |
color: #88a00a; | |
} | |
.et_color_scheme_green .et_pb_counter_amount, | |
.et_color_scheme_green .et_pb_featured_table .et_pb_pricing_heading, | |
.et_color_scheme_green #top-header { | |
background: #88a00a !important; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.pinkshadow p a { box-shadow: inset 0 -7px 0 0 #fcdedb; border-radius: 0px; } | |
.pinkshadow p a:hover { background-color: #fcdedb; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Description | |
Example | |
To change thumbnail size you will need to add this code to the functions.php | |
add_filter( 'et_pb_blog_image_width', 'custom_image_width' ); | |
function custom_image_width($width) { | |
return '600'; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+79514057942 |