Title: iago2's Replies | WordPress.org

---

# iago2

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

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

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Elementor Website Builder - more than just a page builder] integrate JS into elementor](https://wordpress.org/support/topic/integrate-js-into-elementor/)
 *  Thread Starter [iago2](https://wordpress.org/support/users/iago2/)
 * (@iago2)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/integrate-js-into-elementor/#post-14825124)
 * The auther told me to use his cdn.
 * So can I integrate
    `wp_register_script( string $handle, string|bool $src, string[]
   $deps = array(), string|bool|null $ver = false, bool $in_footer = false )`
 * in the functions.php of any theme without braking something?
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [add call to action button within picture](https://wordpress.org/support/topic/add-call-to-action-button-within-picture/)
 *  Thread Starter [iago2](https://wordpress.org/support/users/iago2/)
 * (@iago2)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/add-call-to-action-button-within-picture/#post-13810515)
 * I think this is the function that renders that header image (it is really not
   clear if the image belongs to the header or already to the page):
 * the file is called: class-intro.php
 * code:
 *     ```
       * 50) Special intro
       	 *
       	 * Front page special intro wrapper: open
       	 *
       	 * @since 1.0.0
       	 * @version 1.0.0
       	 */
       	public static function special_wrapper_open() {
   
       		// Requirements check.
       		if ( ! is_front_page() || NanoSpace_Post::is_paged() ) {
       			return;
       		}
   
       		echo '<div class="intro-special">';
   
       	} // /special_wrapper_open
   
       	/**
       	 * Front page special intro wrapper: close
       	 *
       	 * @since 1.0.0
       	 * @version 1.0.0
       	 */
       	public static function special_wrapper_close() {
   
       		// Requirements check.
       		if ( ! is_front_page() || NanoSpace_Post::is_paged() ) {
       			return;
       		}
   
       		echo '</div>';
   
       	} // /special_wrapper_close
   
       	/**
       	 * Setting custom header image as an intro background for special intro
       	 *
       	 * @uses  <code>nanospace_esc_css</code> global hook
       	 *
       	 * @since 1.0.0
       	 * @version 1.0.0
       	 */
       	public static function special_image() {
   
       		// Pre.
       		$disable = (bool) apply_filters( 'nanospace_intro_disable', false );
   
       		$pre = apply_filters( 'nanospace_intro_special_image_pre', $disable );
   
       		if ( false !== $pre ) {
       			if ( true !== $pre ) {
       				echo $pre; // Method bypass via filter.
       			}
   
       			return;
       		}
   
       		if ( $css = self::get_special_image_css() ) {
       			wp_add_inline_style(
       				'nanospace',
       				(string) apply_filters( 'nanospace_esc_css', $css . "\r\n\r\n" )
       			);
       		}
   
       	} // /special_image
       ```
   
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [add call to action button within picture](https://wordpress.org/support/topic/add-call-to-action-button-within-picture/)
 *  Thread Starter [iago2](https://wordpress.org/support/users/iago2/)
 * (@iago2)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/add-call-to-action-button-within-picture/#post-13810126)
 * Ok, I surely will understand the filter concept one day. But isn’t it a bit overkill,
   to start with these filters, if I just want to add a simple html-button?
 * By the way if I just add some more html code to the $titel – parameter of the
   apply filter, where do I add the additional HTML? And I also should give it some
   styling?? Where do I add my CSS?
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [add call to action button within picture](https://wordpress.org/support/topic/add-call-to-action-button-within-picture/)
 *  Thread Starter [iago2](https://wordpress.org/support/users/iago2/)
 * (@iago2)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/add-call-to-action-button-within-picture/#post-13805537)
 * Thanks [@bcworkz](https://wordpress.org/support/users/bcworkz/) for your precise
   answer.
 * protected_title_format, private_title_format, the_title, these are all callback
   functions within the get_the_title function and apply_filters() is the filter-
   hook for managing the callbacks, right?
 * What are these callbacks good for and how do they help me e.g. to add an extra
   button to the header/header image?
 * Thanks, iago
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [add call to action button within picture](https://wordpress.org/support/topic/add-call-to-action-button-within-picture/)
 *  Thread Starter [iago2](https://wordpress.org/support/users/iago2/)
 * (@iago2)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/add-call-to-action-button-within-picture/#post-13799832)
 * Thanks a lot for the answers, I’ve also opened a thread at the nanospace forum.
 * I googled for the_title() and I got this function here:
 * `the_title( string $before = '', string $after = '', bool $echo = true )`
 * Where do I find that function and how do I add the markup, just adding it as 
   a string parameter for the_title?
    -  This reply was modified 5 years, 8 months ago by [iago2](https://wordpress.org/support/users/iago2/).
 *   Forum: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
   
   In reply to: [no db conncetion / local installation of on MAPM](https://wordpress.org/support/topic/no-db-conncetion-local-installation-of-on-mapm/)
 *  Thread Starter [iago2](https://wordpress.org/support/users/iago2/)
 * (@iago2)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/no-db-conncetion-local-installation-of-on-mapm/#post-12596522)
 * Thanks.
    I changed the wp-config parameters (DB_NAME, DB_USER, DB_PASSWORD, DB_HOST)
   then it worked. However I didn’t get what role the wp-config.php plays during
   the installation process. First of all I have a file called wp-config-sample.
   php, this will be deleted then?? How does this work?

Viewing 6 replies - 1 through 6 (of 6 total)