• Resolved surfs-up

    (@surfs-up)


    I hope someone here can point me in the right direction….

    I know HTML, but in my WP theme I see things like:
    [section extra=”post-content”] [/section]
    [paragraph extra=””] [/paragraph]
    And heading, subheading, etc. all with [ ] I can see that this applies formatting, but I do not know about how to use these kind of tags. So I get frustrated and end up changing things to straight html i.e. <p></p>

    So I’m looking for a 101 beginners guide on how to learn and use these tags.

    Where do I start?

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Kim White

    (@kimwhite)

    These are “shortcodes” and some are built into WordPress https://codex.ww.wp.xz.cn/shortcode
    and others can often be associated with a plugin you are using.

    Is this a good start? Without seeing your site I can’t really say what is using these in this particular case.

    • This reply was modified 8 years ago by Kim White.
    • This reply was modified 8 years ago by Kim White.
    • This reply was modified 8 years ago by Kim White.
    Thread Starter surfs-up

    (@surfs-up)

    Oh yes, when I add a plugin shortcode into a page they too use the brackets [ ]
    but what I’m speaking of here is used in place of reg html to apply pre-set formatting such as [section extra=header-top]Header text here[/section].

    It is not CSS or HTML as I know them, but I can see the results are operating just like CSS & HTML.

    Is there a file in the theme or place where I can look these up…. would they be in a style sheet of some kind?

    Is it okay to use reg HTML instead? As you can see from my examples they are being used for things like header, paragraph, sections, etc. and so they replace <div> <p> <span>, but they come with extra formatting usually margins.

    I have removed all I’ve found, which wasn’t much, so there isn’t any page you could view them on really. But my theme is NativeChurch, and I’m totally new to WP so I’m unfamiliar with these bracket tags instead of HTML. I tend to mess with things to learn, but this can cause trouble later. So I’m wondering how important using these bracket tags are, and if they can be replaced with html. Or if I could look them up somewhere in my theme and learn how to use them…..

    The expensive support has run out, so I’m trying to understand this on my own 🙂

    Thanks

    Kim White

    (@kimwhite)

    It is not any part of HTML and is most likely part of a theme or a plugin you are using.

    Without your site to look at we have nothing to look at to perhaps give you an idea of what is building with the brackets.

    If you take them out and build with HTML and it works, no harm no foul. However, the editor does not always keep HTML the way you think it should. Perhaps that’s whey the author of the content you are looking at has used the shortcodes.

    A new editor will be coming to WordPress 5.0 (no date set for launch) that is using a whole new way to layout a page or post. IF you have a staging site you can try it on you might find it useful in building your sites. You can add this coming functionality by installing the “Gutenberg” plugin. https://ww.wp.xz.cn/plugins/gutenberg/

    • This reply was modified 8 years ago by Kim White.
    Thread Starter surfs-up

    (@surfs-up)

    Oh, I understand now.

    In that case I can just ignore it. It was part of a template page, that I have now edited to fit my needs.

    Thanks Kim!

    Kim White

    (@kimwhite)

    Glad to help! You can mark this resolved.

    Thread Starter surfs-up

    (@surfs-up)

    Sure Thing 😀 Thanks again Kim

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Help with WP [tags]’ is closed to new replies.