Tagged: x
-
AuthorPosts
-
May 2, 2016 at 12:08 pm #909409
marketing@transloc.comParticipantHi there, we recently implemented the use of portfolio items on our website. The portfolio page that includes all of the portfolio items has “Portfolio” in the title tag and we’d like to change that but I can’t figure out how. Please advise.
Thanks!
NoutP.S. I’m running the latest version of WP, X theme and cornerstone.
May 2, 2016 at 2:24 pm #909631
RahulModeratorHello There,
Thanks for writing in! To assist you better with this issue, would you mind providing us the url of your site with login credentials so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thank you.
May 2, 2016 at 2:58 pm #909676
marketing@transloc.comParticipantThis reply has been marked as private.May 3, 2016 at 12:00 am #910187
LelyModeratorHello Nout,
Thank you for the credentials. I can see that you have a child theme already.
Copy the file _meta.php file from wp-content\themes\x\framework\views\global to wp-content\themes\x-child\framework\views\global.
Open the copied file and replace the content with the following:<?php // ============================================================================= // VIEWS/GLOBAL/_META.PHP // ----------------------------------------------------------------------------- // Outputs meta data into the <head> of the site. // ============================================================================= ?> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><?php if(x_is_portfolio() || x_is_portfolio_category()){ echo "Transloc"; }else{ wp_title( '' ); } ?></title> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">Change Transloc to your preferred title.
Hope this helps.
May 3, 2016 at 9:21 am #910792
marketing@transloc.comParticipantHey there,
I did exactly as advised (I used FTP) and I still see “Portfolio” in the title tag of this page: http://transloc.com/careers-list <— this is the portfolio list page.
Please advise.
Thank you!
Nout
May 3, 2016 at 12:51 pm #911159
ThaiModeratorHi Nout,
Please update the previous code a bit:
<?php // ============================================================================= // VIEWS/GLOBAL/_META.PHP // ----------------------------------------------------------------------------- // Outputs meta data into the <head> of the site. // ============================================================================= ?> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> <?php if( is_post_type_archive( 'x-portfolio' ) || x_is_portfolio() || x_is_portfolio_category() ){ echo "Transloc"; } else { wp_title( '' ); } ?> </title> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">Hope it helps 🙂
May 3, 2016 at 3:15 pm #911384
marketing@transloc.comParticipantThank you so much, support team. Your latest code does the trick.
Keep on being awesome!
May 4, 2016 at 12:06 am #911898
Nabeel AModeratorGlad we could help 🙂
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-909409 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
