-
-
Hi,
I was wondering if and how could I add the project title before the project description in a portfolio
Thanks
-
Hello,
Do you want to have the project title right after the “Project Description” heading? If yes, you have two options.
1-Edit theme files to include the single portfolio item title before description;
(this is not recommended as it will prevent you from taking future theme updates. Or you will need to redo the changes in each theme update)2-Add manually the project title before the description text. Use heading tags to make it bold. See example:
https://postimg.cc/image/9ruqa773r/
https://postimg.cc/image/gib7jzp87/Let us know.
Best regards!
-
Hi Mihaila,
Thank you for your reply.
No, I would like the title to appear before the description.
Regards,
Saud
-
I have went in single_container.php file (which is the view I have selected to use). I edited the file to include:
<div class="span9"> <h4><?php _e('Project Title', 'codeless') ?></h4> <h2><?php the_title(); ?></h2> <br> <h4><?php _e('Project Description', 'codeless') ?></h4> <?php the_content(); ?> </div>
It worked smoothly :)
Here is an example:
-
Hello,
That’s great! Thank you for sharing your modification.
Please make sure to save a backup of this file. So you won’t lose the changes in case of future theme update.
Best regards!
-
You must be logged in to reply to this topic.