THIS THREAD HAS BEEN CLOSED.

Add do action below content area on single project page

Updated on Sep 8, 2016 in FreelanceEngine
3 on Sep 7, 2016

Hello,

In next update can you add do_action after content on single project page. This is what exactly what i want.

In the file 

template/project-detail-content.php

<div class="content-require-project">
 <h4><?php _e('Project description:',ET_DOMAIN);?></h4>
 <?php the_content(); ?>
 <?php do_action('after_content_single_project', $project); ?>
 </div>

So in future if me or someone else want any custom data to print below content, they can do without changing template file.

Thanks.

  • Liked by
0 on Sep 8, 2016

Hi Rishi,

You could copy the file  freelanceengine\template\project-detail-content.php to child-theme then do what you like.

Hope it helps!

Dan.

  • Liked by
Cancel
0 on Sep 8, 2016

Hi Dan,

I am aware of that and i already done that. but what i asked is if you can add above hook into main theme file. then if someone wants to add any data into project detail page below content, they can do by action and don’t need to copy template file into child theme. You can add it in next update though. it will not take more than 2 min to add above line of code.

  • Liked by
Cancel
0 on Sep 8, 2016

Hi Rishi,

That depends on our developer. I will forward this issue to our developer now.

Thank you!

  • Liked by
Cancel
Loading more replies
Posting & Replying function will be deactivated from 3pm GMT+7 12th Sep.
Read More