Title: reti's Replies | WordPress.org

---

# reti

  [  ](https://wordpress.org/support/users/reti/)

 *   [Profile](https://wordpress.org/support/users/reti/)
 *   [Topics Started](https://wordpress.org/support/users/reti/topics/)
 *   [Replies Created](https://wordpress.org/support/users/reti/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/reti/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/reti/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/reti/engagements/)
 *   [Favorites](https://wordpress.org/support/users/reti/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 79 total)

1 [2](https://wordpress.org/support/users/reti/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/reti/replies/page/3/?output_format=md) [4](https://wordpress.org/support/users/reti/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/reti/replies/page/5/?output_format=md) [6](https://wordpress.org/support/users/reti/replies/page/6/?output_format=md)
[→](https://wordpress.org/support/users/reti/replies/page/2/?output_format=md)

 *   Forum: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
   
   In reply to: [Error establishing a database connection, XAMPP](https://wordpress.org/support/topic/error-establishing-a-database-connection-xampp/)
 *  Thread Starter [reti](https://wordpress.org/support/users/reti/)
 * (@reti)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-xampp/#post-13664639)
 * Thank you guys. I am very grateful. [@dion](https://wordpress.org/support/users/dion/),
   that’s what this was about.
 *   Forum: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
   
   In reply to: [Error establishing a database connection, XAMPP](https://wordpress.org/support/topic/error-establishing-a-database-connection-xampp/)
 *  Thread Starter [reti](https://wordpress.org/support/users/reti/)
 * (@reti)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-xampp/#post-13659358)
 * Thanks guys! [@arno](https://wordpress.org/support/users/arno/) I don’t use a
   password, there is definitely ”. I don’t know why it was copied like that. [@dion](https://wordpress.org/support/users/dion/)
   I changed the word ‘localhost’ to 127.0.0.1 and that didn’t help. The database
   is on port 3307, not 3306:
    $cfg[‘Servers’][$i][‘port’] = 3307;
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Two style.css file versions](https://wordpress.org/support/topic/two-style-css-file-versions/)
 *  Thread Starter [reti](https://wordpress.org/support/users/reti/)
 * (@reti)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/two-style-css-file-versions/#post-12910214)
 * Thanks for the answers. Here you go:
 *     ```
       add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
       function my_theme_enqueue_styles() {
           $parent_style = 'parent-style'; 
           wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
           wp_enqueue_style( 'child-style',
               get_stylesheet_directory_uri() . '/style.css',
               array( $parent_style ),
               wp_get_theme()->get('Version')
           );
       }
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [element with a higher z-index doesn’t cover its siblings with a lower z-index](https://wordpress.org/support/topic/element-with-a-higher-z-index-doesnt-cover-its-siblings-with-a-lower-z-index/)
 *  Thread Starter [reti](https://wordpress.org/support/users/reti/)
 * (@reti)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/element-with-a-higher-z-index-doesnt-cover-its-siblings-with-a-lower-z-index/#post-12832777)
 * Solved. I changed the HTML:
 *     ```
       <button class="dropbtn taxonomy-dropdown"></button>
       <div class="taxonomy-dropdown-content"></div>
       ```
   
    -  This reply was modified 6 years, 3 months ago by [reti](https://wordpress.org/support/users/reti/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Problem with a dropdown. The same code PHP generates a different CSS in two case](https://wordpress.org/support/topic/problem-with-a-dropdown-the-same-code-php-generates-a-different-css-in-two-case/)
 *  Thread Starter [reti](https://wordpress.org/support/users/reti/)
 * (@reti)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/problem-with-a-dropdown-the-same-code-php-generates-a-different-css-in-two-case/#post-12825720)
 * Thanks. Solved. The “g1-dropable” class was missing.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [isset, variable with ‘=’](https://wordpress.org/support/topic/isset-variable-with/)
 *  Thread Starter [reti](https://wordpress.org/support/users/reti/)
 * (@reti)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/isset-variable-with/#post-12822446)
 * Thanks!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [isset, variable with ‘=’](https://wordpress.org/support/topic/isset-variable-with/)
 *  Thread Starter [reti](https://wordpress.org/support/users/reti/)
 * (@reti)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/isset-variable-with/#post-12820738)
 * It works well:
 * `if ( strpos($_SERVER['REQUEST_URI'], 'gdgb') )`
 * That’s enough for now, but if anyone knows how to solve it differently, I’d appreciate
   an answer.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [modifications aren’t included in a child theme](https://wordpress.org/support/topic/modifications-arent-included-in-a-child-theme/)
 *  Thread Starter [reti](https://wordpress.org/support/users/reti/)
 * (@reti)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/modifications-arent-included-in-a-child-theme/#post-12796846)
 * They don’t care about it. All I hear all the time is that it’s not a theme-related
   question. I asked the same question on [StackExchange](https://wordpress.stackexchange.com/questions/365961/the-file-placed-in-the-child-theme-is-not-included).
   It’s solved. You’ve helped a lot too. Thanks!
    -  This reply was modified 6 years, 3 months ago by [reti](https://wordpress.org/support/users/reti/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [modifications aren’t included in a child theme](https://wordpress.org/support/topic/modifications-arent-included-in-a-child-theme/)
 *  Thread Starter [reti](https://wordpress.org/support/users/reti/)
 * (@reti)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/modifications-arent-included-in-a-child-theme/#post-12796144)
 * I wrote so:
 *     ```
       if ( ! function_exists( 'bimber_capture_entry_featured_media' ) ) :
       function bimber_capture_entry_featured_media_my_modifications( $args ) {
   
       //function code with my modifications
   
       }
       endif;
       ```
   
 * It was successful added, but doesn’t work.
 * Maybe it’s usefull information:
    1) file theme.php is added in functions.php 
   file in parentTheme/includes folder in this way:
 * `require_once BIMBER_INCLUDES_DIR . 'theme.php';`
 * 2) function is called by ‘echo’ in another function
 * Here are php files:
    – [http://srv19859.microhost.com.pl/phpfiles/functions.php.txt](http://srv19859.microhost.com.pl/phpfiles/functions.php.txt)–
   [http://srv19859.microhost.com.pl/phpfiles/theme.php.txt](http://srv19859.microhost.com.pl/phpfiles/theme.php.txt)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [modifications aren’t included in a child theme](https://wordpress.org/support/topic/modifications-arent-included-in-a-child-theme/)
 *  Thread Starter [reti](https://wordpress.org/support/users/reti/)
 * (@reti)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/modifications-arent-included-in-a-child-theme/#post-12789617)
 * Thank you very much for your answer. I called that function:
 *     ```
       <?php
       function checkFunction(){
       	if( !function_exists( ‘bimber_render_entry_featured_media’ )) {
       	?> <script>alert("Hello!")</script> <?php
       	}
       }
       add_action('wp_footer', 'checkFunction');
       ?>
       ```
   
 * The ‘Hello!’ alert appears, so the ‘bimber_render_entry_featured_media’ function
   should be overwritten in child theme functions.php, right? This is not so. A 
   message about the redeclaration will appear.
    -  This reply was modified 6 years, 3 months ago by [reti](https://wordpress.org/support/users/reti/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [modifications aren’t included in a child theme](https://wordpress.org/support/topic/modifications-arent-included-in-a-child-theme/)
 *  Thread Starter [reti](https://wordpress.org/support/users/reti/)
 * (@reti)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/modifications-arent-included-in-a-child-theme/#post-12788972)
 * I can’t override the function because there’s a redeclaration error.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [modifications aren’t included in a child theme](https://wordpress.org/support/topic/modifications-arent-included-in-a-child-theme/)
 *  Thread Starter [reti](https://wordpress.org/support/users/reti/)
 * (@reti)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/modifications-arent-included-in-a-child-theme/#post-12786660)
 * My functions.php is already in child theme folder and child theme is active.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [isset, display excluded posts with a tag](https://wordpress.org/support/topic/isset-display-excluded-posts-with-a-tag/)
 *  Thread Starter [reti](https://wordpress.org/support/users/reti/)
 * (@reti)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/isset-display-excluded-posts-with-a-tag/#post-12786628)
 * Thanks, I’ll check it and let you know.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [isset, display excluded posts with a tag](https://wordpress.org/support/topic/isset-display-excluded-posts-with-a-tag/)
 *  Thread Starter [reti](https://wordpress.org/support/users/reti/)
 * (@reti)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/isset-display-excluded-posts-with-a-tag/#post-12783827)
 * Hi,
 * thanks for your answer. Look at [this](https://www.freuciv.com/?fwp_hidden_tags=gdgb&fwp_sort=title_asc&show_excluded).
   These three posts with tag “gdgb” you can see only with “&show_excluded”. And
   these are two functions which do it:
 *     ```
       function exclude_tagged_posts( $query ) {
           if ( $query->is_main_query()  && $query->is_home() ) {
               $query->set( 'tag__not_in', array( 402 ) );
           }
       }
       add_action( 'pre_get_posts', 'exclude_tagged_posts' );
   
       function show_excluded_posts( $query ) {
           if ( $query->is_home() && isset( $_GET['show_excluded'] ) ) {
               $query->set( 'tag__not_in', array( null ) );
           }
       }
       add_action( 'pre_get_posts', 'show_excluded_posts' );
       ```
   
 * It works well. Problem is solved, as I wrote. But when I call a function which
   reset all of facets (button “Alle zeigen”) from URLs with &show_excluded, the&
   show_excluded element is left. I don’t know how to get rid of it.
    -  This reply was modified 6 years, 3 months ago by [reti](https://wordpress.org/support/users/reti/).
    -  This reply was modified 6 years, 3 months ago by [reti](https://wordpress.org/support/users/reti/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [modifications aren’t included in a child theme](https://wordpress.org/support/topic/modifications-arent-included-in-a-child-theme/)
 *  Thread Starter [reti](https://wordpress.org/support/users/reti/)
 * (@reti)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/modifications-arent-included-in-a-child-theme/#post-12783463)
 * Alternatively, how can I override a function from includes/theme.php in functions.
   php?
    -  This reply was modified 6 years, 3 months ago by [reti](https://wordpress.org/support/users/reti/).

Viewing 15 replies - 1 through 15 (of 79 total)

1 [2](https://wordpress.org/support/users/reti/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/reti/replies/page/3/?output_format=md) [4](https://wordpress.org/support/users/reti/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/reti/replies/page/5/?output_format=md) [6](https://wordpress.org/support/users/reti/replies/page/6/?output_format=md)
[→](https://wordpress.org/support/users/reti/replies/page/2/?output_format=md)