Forum Replies Created

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter smazzoni

    (@smazzoni)

    Will I loose albums / DB if I do that?

    Thread Starter smazzoni

    (@smazzoni)

    No, I just created a new WordPress page and pasted the shortcode. It’s on a different template (I think by default WordPress uses page.php to process pages) so the do_shortcode aren’t being used there.

    First problem on the piece of code is

    <div class=”index-post-content”>
    <p><span id=”bc-pname-1″ class=”wppa-nav-text b3″ title=”Page:
    <!– Start WPPA+ generated code –>

    The title from the span is not closed so is breaking the template.

    Also after that I’ve found a missing =””

    <div id=” wppa-container-1″=”” style=”width:640px; padding:0;”>

    Thus not sure if this is affecting the template too.

    Thread Starter smazzoni

    (@smazzoni)

    It worked perfectly Jacob, thank you very much.

    Since I see you’re the plug in author I’d like to ask you about another problem I’m facing on my template. When I paste on a page (/photo-albums/) your basic shortcode [wppa][/wppa] two problems are coming:

    1 – Photo albums list are duplicated. I’ve paginated every 25 albums.
    2 – CSS code are breaking the layout. Basically, the problem is here:

    <div class=”index-post-content”>
    <p><span id=”bc-pname-1″ class=”wppa-nav-text b3″ title=”Page:
    <!– Start WPPA+ generated code –>
    <div id=” wppa-container-1″=”” style=”width:640px; padding:0;”>
    <input id=”wppa-nonce” name=”wppa-nonce” value=”5327636f37″ type=”hidden”>
    <script type=”text/javascript”>
    wppaAutoColumnWidth[1] = false;
    wppaColWidth[1] = 640;
    wppaTopMoc = 1;
    wppaAspectRatio[1] = 0.75;
    wppaFullSize[1] = 640;
    wppaFullFrameDelta[1] = 0;
    wppaFilmStripLength[1] = 554;
    wppaThumbnailPitch[1] = 104;
    wppaFilmStripMargin[1] = 2;
    wppaFilmStripAreaDelta[1] = 98;
    wppaIsMini[1] = false;
    wppaSlideBlank[1] = false;
    wppaLightBox[1] = “xxx”;
    </script>

    Am I doing something wrong? I didn’t modify your CSS codes (only paginated on your settings).

    Thread Starter smazzoni

    (@smazzoni)

    Hi Jacob,

    I’ve tried your code on the template (sidebar.php) but the shortcodes are not being read, the display is just: [wppa type=”cover” album=”#last,0,3″][/wppa]

    It seems that the shortcodes aren’t being converted. If I use your code on a post it works, but not on templates.

Viewing 4 replies - 16 through 19 (of 19 total)