New Landing How can we help? Themeforest Theme Support Flexform Jobs list using swift page builder

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Flexform
  • #128555
    Northerntony
    Member
    Post count: 2

    I want to create a list of jobs on the home page that matches the Posts Carousel style. Since there is not a Jobs Carousel available yet, I thought I’d use the Jobs element and style it to match.

    However, when I use the Jobs element, it displays the full post and does not have any link to the single job page.

    I then tried the Job Overview element, but that just displays an unordered list with no styling.

    Is this the correct behaviour or is there a problem with my instalation?

    If this is correct, what I’d like to do is modify the code for Jobs element so that for each of them it displays the Title, excerpt and date with a ‘veiw full post’ link. I can then style it to match the Post Carousel.

    Can you tell me where to find the code that I would need to change as I can’t find it my self. At the moment I’m working off-line, but I’ve attached a screenshot to illustrate what I mean.

    Many thanks.

    Attachments:
    You must be logged in to view attached files.
    #128670
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Then, I suggest you to create a new element in the page builder by mixing these two files.

    \flexform\includes\page-builder\composer\lib\shortcodes\jobs.php

    \flexform\includes\page-builder\composer\lib\shortcodes\posts-carousel.php

    Take the carousel markup from the posts-carousel and then put take the job content from jobs page and create a new element in the page builder.

    Let us know,

    Thanks,
    laranz.

    #133966
    Northerntony
    Member
    Post count: 2

    Hi thanks for that, it kind of works but I still have a bit of a problem.
    How do I add a new element to the page builder?

    I can modify one of the existing ones, as you said above, and it works. However, if I try creating my own it doesn’t appear in the list. Do I have to do something to register the new element?

    Thanks

    #134040
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    You need to create a new file inside the same location like the jobs.php and posts-craousel.php and the do like this

    Add this line to the last line

    require_once( $shortcodes_dir . 'yourfilename.php' );

    of this file, \wp-content\themes\flexform\includes\page-builder\composer\wp_bakery_visual_composer.php that will register your new element in to the page builder,

    Let us know,

    Thanks,
    laranz.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register