• HI, friends. I’ve inherited a site and have had to do the usual “who did what and why/how” searches. Among them is finding out how columns on one page were created. Below is a snippet of one page. I can find no shortcode plugins or anything else that points to how the columns are being generated. It looks like a shortcode to me but could it be javascript or…?

    Additionally, I don’t understand the syntax of img or btn tags which are inside brackets. ??
    [img w=280 h=110 mbottom=”5″]

    <div>
    [columns]
    [column]
    [img w=280 h=110 mbottom=”5″]https://www.oursite.org/wp-content/uploads/2015/09/hands_holding.jpg[/img]
    (content is here)
    [btn align=”left” url=”donate-2″]More Information…[/btn]
    [/column]
    </div>

    Thanks for any help!

    https://www.habitatsoco.org

Viewing 3 replies - 1 through 3 (of 3 total)
  • these look like shortcodes, and they could be coming with your theme.

    you might need to identify and contact the theme’s developer directly for help.

    what actually is your issue?
    do you have any problems with the site?

    Thread Starter geohab

    (@geohab)

    thanks for the reply, michael. actually, it’s an old theme that is no longer supported. i do plan to change it but the client’s not quite ready. it’s called Paradise from themeforest. i don’t have any specific problems with the theme. i don’t see any shortcode options in the theme options. i’m sure i could just get another columns plugin but i’d be happier if i could find out how/why they’re working at present. i agree, they sure look like shortcodes, i just can’t track down where they’re being created/generated.

    thanks again,

    tom

    Thread Starter geohab

    (@geohab)

    hey, I think I found it in short_codes.php in the theme’s functions folder. two separate shortcode functions:

    function column_shortcode($atts, $content, $code) {
    […]
    add_shortcode(‘column’, ‘column_shortcode’);

    and

    function columns_shortcode($atts, $content, $code) {
    […]
    add_shortcode(‘columns’, ‘columns_shortcode’);

    not sure just how it works but at least i know where they come from and I’m able to look over the php and/or javascript.

    clever how the columns function can determine how many columns are needed by the number of [column] [/column] pairs there nested are inside the [columns] [columns] pair. if you’re interested I could post the functions.

    thanks,

    tom

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to find what's creating my columns’ is closed to new replies.