• Resolved viruseater

    (@viruseater)


    I just found an issue. My company is an ExpressionEngine development group. But we are taking on clients with WordPress now and that means learning the ins and outs.

    in doing some testing i created a shorttag for advertising. Now, in ExpressionEngine nesting tags in tags can screw things up. I don’t know if that’s the case here or not.

    I created a shorttag, inside the function i used the themes shorttags to call ad images.

    This works everywhere except the front page, which I have set to a static page.

    SO what I’m wondering is, what is the precedent on parsing tags on static pages? I’m guessing this is my problem.

    Obviously the other question is are we ok nesting shortcode in shortcodes?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Okay, you’re using some odd descriptors for stuff, possibly because you’re new to WordPress. Do you mean shortcodes when you say “shorttags”? In which case it’s possible (depending on theme) that the excerpt is shown here and that doesn’t include the processing of shortcodes.

    Now, you can override this but it screws up the whole functionality of the excerpt.

    Thread Starter viruseater

    (@viruseater)

    Crap. i meant shortcode. i’m just new to the system, i do this ?? sorry. I’m used to ‘tags’

    I guess what I’m nto understanding is that the code works on all pages i’ve tested on, just not the front page. Which leads me to believe that page is parsed differently than the others in terms of order. I think that makes sense. maybe not.

    I can’t link to the site because it’s a sandbox version of a live site and it’s locked to IP.

    What it sounds like though is I should contact the theme maker. This client bought a theme on envato (themeforest) and while it looks great it is absolutely bloated with plugins (there was 124 calls on the front page). so i’m trying to weed through this.

    if you think I should direct this question to the theme maker I’ll consider this resolved and move on.

    thanks!

    On the front page do the full posts show or just an extract? If the latter, then it’s likely to be using the excerpt – as I said before, shortcodes do not work with excerpts.

    Thread Starter viruseater

    (@viruseater)

    yep. excerpts on all posts.

    i get what you’re saying. I misunderstood. that helps. thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Parsing tags on front page question’ is closed to new replies.