New Landing How can we help? Themeforest Theme Support Dante Portfolio sub title

Viewing 15 posts - 1 through 15 (of 17 total)
  • Posted in: Dante
  • #278662
    Sturge08
    Member
    Post count: 75

    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.
    #278933
    David Martin – Support
    Moderator
    Post count: 20834

    Sure, 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.

    #278936
    David Martin – Support
    Moderator
    Post count: 20834

    Sorry, I update the code please only use this: http://pastie.org/private/csojdcpup4qzmhqjqm7tg

    #279453
    Sturge08
    Member
    Post count: 75

    Hi 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.
    #279467
    David Martin – Support
    Moderator
    Post count: 20834

    Thanks, let me know if you need any CSS help or is your dev doing it/done it?

    Cheers.

    #279475
    Sturge08
    Member
    Post count: 75

    Hi David

    I think my dev guy sorted it, but thank you for offering to assist.

    #279481
    David Martin – Support
    Moderator
    Post count: 20834

    Great, glad you have it working.

    #279532
    Sturge08
    Member
    Post count: 75

    Hi 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?

    #279535
    David Martin – Support
    Moderator
    Post count: 20834

    The white screen would have instantly happened if the code had an error.

    Has the code been modified, or the functions.php file changed?

    #279547
    Sturge08
    Member
    Post count: 75

    Hi 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

    #279566
    David Martin – Support
    Moderator
    Post count: 20834

    Can you add your FTP details?

    Thanks.

    #279780
    Sturge08
    Member
    Post count: 75
    This reply has been marked as private.
    #280043
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    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.

    #280663
    Sturge08
    Member
    Post count: 75

    Hi 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.

    #280679
    David Martin – Support
    Moderator
    Post count: 20834

    Ah 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.

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in to reply to this topic.