Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Portfolio sub title
New Landing › How can we help? › Themeforest Theme Support › Dante › Portfolio sub title
- This topic has 16 replies, 2 voices, and was last updated 7 years by David Martin – Support.
-
Posted in: Dante
-
July 1, 2016 at 2:37 pm #278662
Hi
Is there anyway the sub title can be displayed on a portfolio project?
In this case i’d like to display ‘Artwork & Design’.
Attachments:
You must be logged in to view attached files.July 4, 2016 at 11:56 am #278933Sure, upload and activate your child theme, inside the child
functions.php
file add this code: http://pastie.org/private/dpjjjqcbxuradv81ungpa.You will need to add some CSS to position the subtitle how you need it, once the above is added let me know if you need help with that also.
Thanks.
July 4, 2016 at 12:01 pm #278936Sorry, I update the code please only use this: http://pastie.org/private/csojdcpup4qzmhqjqm7tg
July 6, 2016 at 10:56 am #279453Hi David, thank you for your help, it works really well. I asked a developer for a little bit of help with the CSS. Take a look at the screen grab.
Attachments:
You must be logged in to view attached files.July 6, 2016 at 11:32 am #279467Thanks, let me know if you need any CSS help or is your dev doing it/done it?
Cheers.
July 6, 2016 at 12:02 pm #279475Hi David
I think my dev guy sorted it, but thank you for offering to assist.
July 6, 2016 at 12:37 pm #279481Great, glad you have it working.
July 6, 2016 at 3:52 pm #279532Hi David
I think i’ve spoken too soon.
I think adding the new .php has caused the white screen of death.
I can’t log onto the website anymore because I can’t get past the white screen.
I’ve read that PHP errors and database errors can manifest as a white screen. Do you think the .php which you provided me with has a small error which could cause this to happen?
July 6, 2016 at 3:57 pm #279535The white screen would have instantly happened if the code had an error.
Has the code been modified, or the functions.php file changed?
July 6, 2016 at 4:44 pm #279547Hi David
The .php was uploaded by my developer. He never modified or changed anything. He did add new CSS to adjust the style of the sub title.
The code which he uploaded was http://pastie.org/private/dpjjjqcbxuradv81ungpa
July 6, 2016 at 6:19 pm #279566Can you add your FTP details?
Thanks.
July 7, 2016 at 2:38 pm #279780This reply has been marked as private.July 8, 2016 at 1:58 pm #280043Hi,
What is the server address?
If your developer turned the error reporting on in WordPress within the wp-config they will be able to trace the error also.
Thanks.
July 12, 2016 at 9:54 am #280663Hi David
Do you mean this http://dev.brookesandco.net?
Surely you these details from me, as I have to input this in order to post a support ticket.
July 12, 2016 at 10:30 am #280679Ah there was a missing bracket, this
<?php if ( is_singular( 'portfolio' ) ) ?>
has been changed to this<?php if ( is_singular( 'portfolio' ) ) { ?>
I have added the code it works great.
Thanks.
-
Posted in: Dante
You must be logged in to reply to this topic.