• Resolved jonnytow

    (@jonnytow)


    Hello

    Recently someone fiddled with my website and broke my jobs title listing now its just saying array, ive been trying to fix it but dont really know what the issue could be the code i was using is

    <?php echo do_shortcode( [job_title] ); ?>

    this just displays the word array

    any help would be appreciated

    Thanks

    https://ww.wp.xz.cn/plugins/job-manager/

Viewing 15 replies - 1 through 15 (of 20 total)
  • Thread Starter jonnytow

    (@jonnytow)

    http://obi.jonathantownend.co.uk/

    this is the link to the issue

    Plugin Author Thomas Townsend

    (@smb-dev)

    That tab looks to be part of your Menu System and not directly related to Job Manager.. In fact your Job Listings, Details and Application Pages look fine.

    If you recently updated your theme version and or plugin, that could be causing issues with your theme. I would look into your Menu area as the possible issue.

    On another note: You are running your site on an outdated version of WordPress and I highly recommend you update it as versions 4.2.2 is a Security Update,

    Thread Starter jonnytow

    (@jonnytow)

    i tried to do it at the bottom of this page

    http://obi.jonathantownend.co.uk/training/

    still the same issue i will try disabling all other plugins but ive not updated anything

    ive updated wordpress thanks for noticing that πŸ™‚

    thanks for your support i will update you on if there is any plugin conflictions

    Thread Starter jonnytow

    (@jonnytow)

    ok ive deactivated all other plugins

    ive also created this page and just placed the shortcode into the text box

    http://obi.jonathantownend.co.uk/test/

    (not sure if thats how you do it on pages i tend not to use short codes)

    Plugin Author Thomas Townsend

    (@smb-dev)

    That’s definitely something your theme.

    If you use Chrome or Firefox and (View Page Source)

    You can see that (Array)is placed right inline with a series of </div> tags right after the Loop Finish. Almost like it’s expecting something that’s no longer there ??

    If you can’t resolve it try contacting the theme developer.

    Also check for plugin and or theme conflict, this is not a Job Manager issue so I am marking this thread as Resolved.

    Thread Starter jonnytow

    (@jonnytow)

    ok thanks for the help Thomas

    Plugin Author Thomas Townsend

    (@smb-dev)

    Johnny,

    If I have helped you out in any way, it would be helpful if you could take a few moments and provide a review – Thanks

    Thread Starter jonnytow

    (@jonnytow)

    just one last thing Thomas

    Which file are the shortcodes in so i can add a test like

    function test_shortcodes()
    {
    return ‘Shortcodes are working!’;
    }
    add_shortcode(‘test_shortcodes’, ‘test_shortcodes’);

    just so i know that it is finding the file

    Plugin Author Thomas Townsend

    (@smb-dev)

    You can view the entire shortcodes available from the Admin / Display Settings Page

    Global Variables are located in job-manager/job-manager.php

    Thread Starter jonnytow

    (@jonnytow)

    also ive changed the theme and i still have the same issue on every page

    when you delete the plugin does it delete any database info because i deleted it an reinstalled it and some jobs and setting were still in place?

    Plugin Author Thomas Townsend

    (@smb-dev)

    Whatever you had checked in the uninstall setting of the plugin – from Admin Settings, bottom of the page.

    Also ensure you have cleared cache from your hosting provider and your browsers.

    When you say:

    Recently someone fiddled with my website and broke my jobs title listing

    Was your site hacked ?

    Thread Starter jonnytow

    (@jonnytow)

    i had them all ticked when i uninstalled it but still had some jobs back when i reinstalled

    no im working with someone else who said the ftp session crashed half way through

    ive tried some other shortcodes from other plugins and they seem to work

    Thread Starter jonnytow

    (@jonnytow)

    tried using this

    <?php if ( shortcode_exists( ‘job_title’ ) ) { print “The shortcode exists”;} ?>

    but it doesnt echo out

    Plugin Author Thomas Townsend

    (@smb-dev)

    Might want to invest in a good backup / restore option in cases like this.

    I host all my client sites on WPengine because they have built in auto backups point restore functions. It also helps if you have the ability to set up a staging server for any changes so your live site doesn’t get goofed up in the process. Yep WPE has that built in too….worth every penny of my time there rather then trying to figure out where an install or an update went wrong.

    Plugin Author Thomas Townsend

    (@smb-dev)

    If you want to see all the shortcodes on your site – install the WordPress Debug Bar and the Debug Bar Shortcodes plugin

    Almost forgot your gonna want Post Types and Console too.

    It will save you a ton of time….

    You won’t see Job Manager shortcodes on any of those as they are used more as a Custom Post Type….

Viewing 15 replies - 1 through 15 (of 20 total)

The topic ‘Just displaying the word array when i use short code’ is closed to new replies.