Are there news about the upgrade of the projects section?
TKS
here’s my request for a “projects” shortcode.
Thread Starter
ipop07
(@ipop07)
I actually ended up adding the shortcode for projects myself. I will post the details later today, tonight or tomorrow
Thread Starter
ipop07
(@ipop07)
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
@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?
Thread Starter
ipop07
(@ipop07)
Try using
[fb_linkedin_resume_projects]
I’ve added the projects support to the plugin and will be released asap.
thank you!