Title: PluginlySpeaking's Replies | WordPress.org

---

# PluginlySpeaking

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Floating Div] Inner content no overflow how?](https://wordpress.org/support/topic/inner-content-no-overflow-how/)
 *  Plugin Author [PluginlySpeaking](https://wordpress.org/support/users/pluginlyspeaking/)
 * (@pluginlyspeaking)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/inner-content-no-overflow-how/#post-9701631)
 * Hi,
 * Unfortunately, I am not able to edit my reply anymore. I had only 1h, now it’s
   up to the moderator to accept to delete your URL or not.
 * About your issue, I think it is because your top “banner” is made with 7 or 8
   different images and the browser wants to display them all.
    If you had only 
   1 image and you set your background to 100%, it would keep the same centered 
   image (I believe).
 * Best Regards,
    PluginlySpeaking
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Floating Div] Inner content no overflow how?](https://wordpress.org/support/topic/inner-content-no-overflow-how/)
 *  Plugin Author [PluginlySpeaking](https://wordpress.org/support/users/pluginlyspeaking/)
 * (@pluginlyspeaking)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/inner-content-no-overflow-how/#post-9698221)
 * Hi,
 * I think the issue comes with the media queries (CSS that involves the size of
   the screen, it is used for responsive purpose).
 * Could you give me an URL? It would help me troubleshooting.
 * I guess your website is [http://mixnet.lt/](http://mixnet.lt/) but I couldn’t
   find the floating div.
 * Best Regards,
    PluginlySpeaking
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Floating Div] Change div style in .css file](https://wordpress.org/support/topic/change-div-style-in-css-file/)
 *  Plugin Author [PluginlySpeaking](https://wordpress.org/support/users/pluginlyspeaking/)
 * (@pluginlyspeaking)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/change-div-style-in-css-file/#post-9688143)
 * Hi,
 * What would you like to change ?
    Would you like the classes that would let you
   modify the Div appearance ?
 * Best Regards,
    PluginlySpeaking
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Scratching Effect] Unable to click on discovered image](https://wordpress.org/support/topic/unable-to-click-on-discovered-image/)
 *  Plugin Author [PluginlySpeaking](https://wordpress.org/support/users/pluginlyspeaking/)
 * (@pluginlyspeaking)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/unable-to-click-on-discovered-image/#post-9674589)
 * Hi,
 * Sorry for the late answer, I can’t access your URL in order to see what’s wrong.
 * Let me know if it’s a local website or if there was a mistake in the url.
 * Best Regards,
    PluginlySpeaking
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Floating Div] Removing shadow?](https://wordpress.org/support/topic/removing-shadow/)
 *  Plugin Author [PluginlySpeaking](https://wordpress.org/support/users/pluginlyspeaking/)
 * (@pluginlyspeaking)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/removing-shadow/#post-9656191)
 * Hi,
 * Try to add this in your css file :
 * #floatdiv_422 .exp_floatdiv_content_padding_pro {
    box-shadow: none !important;}
 * It should be ok, I remain available if you need any help.
 * Best Regards,
    PluginlySpeaking
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Floating Div] Allow PHP](https://wordpress.org/support/topic/allow-php/)
 *  Plugin Author [PluginlySpeaking](https://wordpress.org/support/users/pluginlyspeaking/)
 * (@pluginlyspeaking)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/allow-php/page/2/#post-9650545)
 * You are welcome.
    Just some advices about this piece of code we added.
 * Be careful with $suffix_url, the variable isn’t initialized and if the user isn’t
   logged, I doubt the URL ending with space will be found.
 * Also be careful in general, there is absolutely no test in the shortcode psfd_php,
   it reads the PHP you put inside and that’s all.
 * Best Regards,
    PluginlySpeaking
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Floating Div] Allow PHP](https://wordpress.org/support/topic/allow-php/)
 *  Plugin Author [PluginlySpeaking](https://wordpress.org/support/users/pluginlyspeaking/)
 * (@pluginlyspeaking)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/allow-php/page/2/#post-9650333)
 * On my side, I have the floating div with an empty iframe. The floating div isn’t
   removed.
 * If you used copy/paste, did you check that the quotes aren’t modified ?
 *     ```
       [psfd_php]
       if ( 0 != get_current_user_id() ) {
       $suffix_url = get_the_author_meta( 'user_description', get_current_user_id() );
       } else {
       $suffix_url = 'Not logged in user';
       }
   
       echo '<iframe width="362" height="395" src="http://something.com/'.$suffix_url.'" frameborder="0"></iframe>';
   
       [/psfd_php]
       ```
   
 * Here is a version with code balise, maybe I should have use them earlier.
 * Best Regards,
    PluginlySpeaking
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Floating Div] Allow PHP](https://wordpress.org/support/topic/allow-php/)
 *  Plugin Author [PluginlySpeaking](https://wordpress.org/support/users/pluginlyspeaking/)
 * (@pluginlyspeaking)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/allow-php/page/2/#post-9649976)
 * Did you try something like this :
 * [psfd_php]
    if ( 0 != get_current_user_id() ) { $suffix_url = get_the_author_meta(‘
   user_description’, get_current_user_id() ); } else { $suffix_url = ‘Not logged
   in user’; }
 * echo ‘<iframe width=”362″ height=”395″ src=”[http://something.com/&#8217](http://something.com/&#8217);.
   $suffix_url.'” frameborder=”0″></iframe>’;
 * [/psfd_php]
 * I use get_the_author_meta instead of just the_author_meta because you need to
   store the value in a variable, and not just display it.
 * In this example, I think you should modify the “else” of the conditions, because
   it will give you an unreachable URL.
 * Best Regards,
    PluginlySpeaking
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Floating Div] Allow PHP](https://wordpress.org/support/topic/allow-php/)
 *  Plugin Author [PluginlySpeaking](https://wordpress.org/support/users/pluginlyspeaking/)
 * (@pluginlyspeaking)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/allow-php/#post-9648780)
 * Hi,
 * Sorry for the late answer, which error do you get with this code ? Is it the 
   error in the last of the three screenshots you sent me ?
 * Best Regards,
    PluginlySpeaking
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Floating Div] Removing shadow?](https://wordpress.org/support/topic/removing-shadow/)
 *  Plugin Author [PluginlySpeaking](https://wordpress.org/support/users/pluginlyspeaking/)
 * (@pluginlyspeaking)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/removing-shadow/#post-9648766)
 * Hi,
 * Sorry for the delay, yes it can be done with a bit of CSS.
    I can’t reach your
   URL, is there a mistake somewhere ? Or does it come from my side ?
 * It would help me to give you the best answer for you.
 * Best Regards,
    PluginlySpeaking
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Floating Div] Allow PHP](https://wordpress.org/support/topic/allow-php/)
 *  Plugin Author [PluginlySpeaking](https://wordpress.org/support/users/pluginlyspeaking/)
 * (@pluginlyspeaking)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/allow-php/#post-9644563)
 * I did some tests on my side and it’s working.
 * I used the same shortcode as you :
 *     ```
       [psfd_php] 
       if ( 0 != get_current_user_id() ) {
         the_author_meta( 'user_description', get_current_user_id() );
         } else {
         echo 'Not logged in user';
         }
       [/psfd_php]
       ```
   
 * Firstly, it didn’t display anything. The reason was simple, my personnal user’s
   description was empty.
 * I put some stuff in it and then the description was displayed in the floating
   div.
 * Best Regards,
    PluginlySpeaking
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Floating Div] Allow PHP](https://wordpress.org/support/topic/allow-php/)
 *  Plugin Author [PluginlySpeaking](https://wordpress.org/support/users/pluginlyspeaking/)
 * (@pluginlyspeaking)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/allow-php/#post-9644508)
 * What is the output of the shortcode ?
 * Best Regards,
    PluginlySpeaking
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Floating Div] Allow PHP](https://wordpress.org/support/topic/allow-php/)
 *  Plugin Author [PluginlySpeaking](https://wordpress.org/support/users/pluginlyspeaking/)
 * (@pluginlyspeaking)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/allow-php/#post-9644259)
 * Ok, so you have to add the following code at the end of the `pluginlyspeaking-
   floatingdiv.php` file (just before the ” ?> “) :
 *     ```
       add_shortcode( 'psfd_php', 'psfd_shortcode_php' );
       function psfd_shortcode_php($atts, $content = null) {
       	ob_start();
       	eval($content);
       	$output = ob_get_clean();
       	ob_end_clean();
   
       	return $output;
   
       }
       ```
   
 * It will create a shortcode that you can use like that :
 * `[psfd_php] any php code [/psfd_php]`
 * For example, the following shortcode : `[psfd_php] echo “Today is ” . date(“d/
   m/Y”); [/psfd_php]` will display : `Today is 02/11/17`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Floating Div] Allow PHP](https://wordpress.org/support/topic/allow-php/)
 *  Plugin Author [PluginlySpeaking](https://wordpress.org/support/users/pluginlyspeaking/)
 * (@pluginlyspeaking)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/allow-php/#post-9640479)
 * Hi,
 * I found something that could work, it requires to edit the php file.
 * Are you familiar with editing the file via your FTP client ?
    Or would you prefer
   to get a new php file and simply upload it ?
 * Let me how you would like to proceed.
 * Best Regards,
    PluginlySpeaking
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Floating Div] Allow PHP](https://wordpress.org/support/topic/allow-php/)
 *  Plugin Author [PluginlySpeaking](https://wordpress.org/support/users/pluginlyspeaking/)
 * (@pluginlyspeaking)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/allow-php/#post-9637926)
 * Hi,
 * It isn’t possible currently, the php code is immediately commented by WP.
 * <?php echo “Today is ” . date(“d/m/Y”); ?>
 * becomes
 * <!–?php echo “Today is ” . date(“d/m/Y”); ?–>
 * I will take a look if I can find a way to allow PHP code in the WP textarea and
   come back to you.
 * Sorry for the inconvenience,
 * Best Regards,
    PluginlySpeaking

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

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