WordPress.org

Forums

FB LinkedIn Resume
[resolved] Projects, honors and awards and other secitons (9 posts)

  1. ipop07
    Member
    Posted 2 years ago #

    Hoping you will add shortcodes for some of the sections you are not covering.

    Thanks

    http://wordpress.org/extend/plugins/fb-linkedin-resume/

  2. AMigazzi
    Member
    Posted 2 years ago #

    Are there news about the upgrade of the projects section?
    TKS

  3. janicek
    Member
    Posted 2 years ago #

    here's my request for a "projects" shortcode.

  4. ipop07
    Member
    Posted 2 years ago #

    I actually ended up adding the shortcode for projects myself. I will post the details later today, tonight or tomorrow

  5. ipop07
    Member
    Posted 2 years ago #

    The way you add this section is you go in wordpress to plugins -> you click edit on the plugin -> then you go to fb-linkedin-resume/fb-linkedin-resume.php

    You have to add this line close to the beginning where the short codes are defined:
    add_shortcode("fb_linkedin_resume_projects", "fb_linkedin_resume_projects");

    This line is added where the full resume is layed out
    fb_linkedin_resume_projects($params);

    and add this after the additional function
    function fb_linkedin_resume_projects($params) {
    wp_register_style("fb_linkedin_resume", fb_linkedin_resume_path . "style.css", false, fb_linkedin_resume_version, "all");
    wp_print_styles("fb_linkedin_resume");

    $resume = fb_linkedin_resume_get_resume($params);
    $projects = $resume->find("#profile-projects");
    if (empty($projects)) return "";

    $projects = $projects[0];
    if (isset($params["title"])) {
    $h2 = $projects->find("h2");
    $h2[0]->innertext = $params["title"];
    }
    return $projects;
    }

    hope all that helps

  6. janicek
    Member
    Posted 2 years ago #

    @ipop07 thanks for the quick replies and help. I've modified the fb-linkedin-resume.php file, but I'm not seeing my projects show on my site. Is there a trick to getting it to display?

  7. ipop07
    Member
    Posted 2 years ago #

    Try using
    [fb_linkedin_resume_projects]

  8. janicek
    Member
    Posted 2 years ago #

    Bingo. Thanks much!!

  9. fabrizio.balliano
    Member
    Plugin Author

    Posted 2 years ago #

    I've added the projects support to the plugin and will be released asap.
    thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • FB LinkedIn Resume
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic