Benjamin Zekavica
Forum Replies Created
-
Forum: Installing WordPress
In reply to: insert code in header and bodyYes but I need an error message than I can help you, that is the reason why I need the debug log to find the error. Do you can rename your functions.php to __functions.php in your Child Theme? Than we can see if the parent theme works fine.
Currently you said you want to add Code to Header / Footer. The solution is to write it inside your theme with php or to use a plugin: https://de.www.ads-software.com/plugins/header-footer-code-managerForum: Installing WordPress
In reply to: insert code in header and bodyPlease check your wp-config.php again. Somewhere in the File was set double WP_DEBUG_LOG. Remove one of them and add only this:
define('WP_DEBUG_LOG', true)
Forum: Installing WordPress
In reply to: insert code in header and bodyOk but where you saw the error after you added the code in the functions.php?
Forum: Installing WordPress
In reply to: insert code in header and bodyThat’s no problem ?? The debug.log is one of the part of WordPress.
The Pro Version allows you to add code to WP Head and Footer from the Backend. But first I need to see the debug.log or the error message. Than I can help you.
Forum: Installing WordPress
In reply to: insert code in header and bodyOk, in the Pro Version of Elementor you can add Custom Header / Footer Code inside the settings.
The debug.log you can find under /wp-content/debug.log
See this documentation: https://developer.www.ads-software.com/advanced-administration/debug/debug-wordpress/- This reply was modified 11 months, 4 weeks ago by Benjamin Zekavica.
Forum: Installing WordPress
In reply to: insert code in header and bodyDo you can send me the error message or copy it from the debug.log if it’s active. Which parent theme you use ?
Forum: Installing WordPress
In reply to: insert code in header and body@stefanocps?Try this ?? In the line: if ( empty( $uri ) && is_rtl() && file_exists( get_template_directory() . ‘/rtl.css’ ) ) {
Was mission the beginning and ending PHP Tags.<?php // Exit if accessed directly if ( !defined( 'ABSPATH' ) ) exit; // BEGIN ENQUEUE PARENT ACTION // AUTO GENERATED - Do not modify or remove comment markers above or below: if ( !function_exists( 'chld_thm_cfg_locale_css' ) ) { ? ? function chld_thm_cfg_locale_css( $uri ){ ? ? ? ? if ( empty( $uri ) && is_rtl() && file_exists( get_template_directory() . '/rtl.css' ) ) { ? ? $uri = get_template_directory_uri() . '/rtl.css'; } return $uri; ? ? } } add_filter( 'locale_stylesheet_uri', 'chld_thm_cfg_locale_css' ); if ( !function_exists( 'child_theme_configurator_css' ) ) { function child_theme_configurator_css() { wp_enqueue_style( 'chld_thm_cfg_child', trailingslashit( get_stylesheet_directory_uri() ) . 'style.css', array( 'hello-elementor','hello-elementor','hello-elementor-theme-style','hello-elementor-header-footer' ) ); } } add_action( 'wp_enqueue_scripts', 'child_theme_configurator_css', 10 ); // END ENQUEUE PARENT ACTION // ======== ADD YOUR CODE HERE (FOR EXAMPLE) ======== add_action('wp_head', function() { // Your HTML Code / Example ?> <script type="text/javascript" src="https://www.ads-software.com/your-files.js"></script> <?php });
Forum: Installing WordPress
In reply to: insert code in header and body@stefanocps Do you can add you code from the functions.php here ? Than I can help you ??
Make sure that the beginning of the functions.php is beginning with<?php
and than to add and customize your Code.Forum: Installing WordPress
In reply to: insert code in header and bodyHallo @stefanocps,
you can use the hooks: wp_head and wp_footer and .
wp_body_open
You can add this Code to your functions.php in your Child Theme.
For example:
Headeradd_action('wp_head', function() {
// Your HTML Code / Example
?>
<script type="text/javascript" src="https://www.ads-software.com/your-files.js"></script>
<?php
});Footer
add_action('wp_footer', function() {
// Your HTML Code / Example
?>
<script type="text/javascript" src="https://www.ads-software.com/your-files.js"></script>
<?php
});Body
add_action(?'wp_body_open',?function() {
?>
<script>// Your script code here</script><
?php});
- This reply was modified 11 months, 4 weeks ago by Benjamin Zekavica.
- This reply was modified 11 months, 4 weeks ago by Benjamin Zekavica.
Forum: Everything else WordPress
In reply to: Changing a Site’s Domain from .com to .co.zaHallo @barryrichardson,
You can leave the site as it is. You can then register a new domain and redirect to the main website. With this way you won’t have any SEO problems by the search engines. I hope this helps you ??
Forum: Installing WordPress
In reply to: Can’t update to WP 6.5Hallo @pangaea,
it sound’s that is a file permission error. You can set the File permission via your SFTP Client like Filezilla.
Here you can find some recommended settings for file permissions.
https://www.malcare.com/blog/wordpress-file-permissions/Otherwise contact your Hoster.
- This reply was modified 11 months, 4 weeks ago by Benjamin Zekavica.
Forum: Plugins
In reply to: [Hide Block] Plugin breaks pages with recent WP updateHi @nathdevsi please check out the new update version ??
Forum: Reviews
In reply to: [Hide Block] Slowing down the WP EditorHallo @gtamborero,
thank you so much. I will check it in ACF Pro. But currently my plugin no support ACF Blocks direcly. But that I will add on my Roadmap for the next Release.
Greetings ??
Benjamin ZekavicaForum: Reviews
In reply to: [Hide Block] Slowing down the WP EditorHallo?@gtamborero,
please check out the new version of my plugin for WP 6.4 ??
I hope now it works.
Greetings from Germany.Forum: Reviews
In reply to: [Hide Block] Slowing down the WP EditorHallo @gtamborero,
thank you for your review. I understand that the plugin doesn’t work :/ I promise the next weeks I will update my Plugin for the new Version 6.5 as well ?? Stay tuned.