Add align=none
to your table.
150+ pages for editing 😀
said to myself – make a template ….
Ha! Well, hang on. I’m looking further into this.
Aafter the addition align=”none” is not visible schedule visits
No, it goes to the bottom where it’s supposed to. align=none removes the float from the table. When the table is floated, Google Analytics thinks it isn’t there. I installed the Analytics plugin, duplicated your issue, and align=none solves it. See screenshot: http://imgur.com/ID25QRA
HM! I`m using her
[fileaway base="SKP" sub="<?php echo the_slug(); ?>" type="table" align="none"]
That is NOT what “sub” is for. sub is for a subdirectory of the base directory on your server. Not for page slugs.
If you don’t want to change align=none on 150 pages, open up wp-content/plugins/file-away/lib/inc/inc.declarations.php and add this line to the very bottom:
if($width == '100' && $perpx == '%') $align = 'none';
That will change your alignment to “none” on all your tables if you’re not otherwise specifying a width or perpx.
That is NOT what “sub” is for. sub is for a subdirectory of the base directory on your server. Not for page slugs.
Sub folders name = slug
if($width == ‘100’ && $perpx == ‘%’) $align = ‘none’;
I`ts work thx
I will make a template for all pages…
OK. My mistake. Good deal then. So everything’s working?
If you’re adding the shortcode in a template file, you can’t just put the shortcode. (You probably know this.) You can do one of two things:
<?php echo do_shortcode(‘[fileaway base=”SKP” sub=”‘.the_slug().'” type=”table” align=”none”]’); ?>
or better:
<?php
$fileaway = new fileaway;
$atts = array(‘base’=>’SKP’, ‘sub’=>the_slug(), ‘type’=>’table’, ‘align’=>’none’);
echo $fileaway->sc($atts);
?>