Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author thomstark

    (@thomstark)

    Add align=none to your table.

    Thread Starter moonkir

    (@moonkir)

    150+ pages for editing ??
    said to myself – make a template ….

    Plugin Author thomstark

    (@thomstark)

    Ha! Well, hang on. I’m looking further into this.

    Thread Starter moonkir

    (@moonkir)

    Aafter the addition align=”none” is not visible schedule visits

    Plugin Author thomstark

    (@thomstark)

    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: https://imgur.com/ID25QRA

    Thread Starter moonkir

    (@moonkir)

    HM! I`m using her
    [fileaway base="SKP" sub="<?php echo the_slug(); ?>" type="table" align="none"]

    Plugin Author thomstark

    (@thomstark)

    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.

    Thread Starter moonkir

    (@moonkir)

    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…

    Plugin Author thomstark

    (@thomstark)

    OK. My mistake. Good deal then. So everything’s working?

    Thread Starter moonkir

    (@moonkir)

    Yeah – thx fo help

    Plugin Author thomstark

    (@thomstark)

    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);
    ?>

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘overlay plugins’ is closed to new replies.