Jump to content
Sign in to follow this  
red3media

Child Theme functions.php and library.templates.php Modifying

Recommended Posts

red3media

I'm trying to modify the pagelines_title_tag() function for a custom display. Can I duplicate the includes folder with the library.templates.php file into my Child Theme and modify the display for pagelines_title_tag()? Or do I just add some code to the functions.php file under my child theme? Please help! I've been messing around with this all day and I can't find exactly what I'm looking for! Thanks!

Share this post


Link to post
Share on other sites
catrina
[quote]Can I duplicate the includes folder with the library.templates.php file into my Child Theme and modify the display for pagelines_title_tag()?[/quote] You can copy the library.templates.php file into your child theme.

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
red3media
I tried that and I modified some code in the library file... It didn't seems to change anything. Do I need to copy the file and place it into a folder named includes under the childtheme? Thanks

Share this post


Link to post
Share on other sites
red3media
[code] function pagelines_title_tag(){ echo "n"; if ( !function_exists( 'aiosp_meta' ) && !function_exists( 'wpseo_get_value' ) ) { // Pagelines seo titles. global $page, $paged; $title = wp_title( '|', false, 'right' ); // Add the blog name. $title .= get_bloginfo( 'name' ); // Add the blog description for the home/front page. $title .= ( ( is_home() || is_front_page() ) && get_bloginfo( 'description', 'display' ) ) ? ' | ' . get_bloginfo( 'description', 'display' ) : ''; // Add a page number if necessary: $title .= ( $paged >= 2 || $page >= 2 ) ? ' | ' . sprintf( __( 'Page %s', 'pagelines' ), max( $paged, $page ) ) : ''; } else $title = trim( wp_title( '', false ) ); // Print the title. echo apply_filters( 'pagelines_meta_title', $title ); echo "n"; } [/code]

Share this post


Link to post
Share on other sites
red3media
Can someone help me modify this in my childtheme? The problem is... I have a post with the title.... "MULTIFEED_START_2_Iberiabank Visa® Classic CardMULTIFEED_END_2_ | CardRate.com" I need to add an if statement to remove the "MULTIFEED_START_2_" and "MULTIFEED_END_2_" from all these posts from being displayed. Thanks!

Share this post


Link to post
Share on other sites
catrina
Do you have any multifeed plugins installed? (I'm not sure where the "MULTIFEED_START" text can be coming from)

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
red3media
Yes... it's a XML feed importer

Share this post


Link to post
Share on other sites
red3media
It only displays the MULTIFEED_START in the tags... On the post, the displays the title as "Iberiabank Visa?® Classic Card". </div> <div class='ipsItemControls'> <div data-controller='core.front.core.reaction' class='ipsItemControls_right ipsClearfix '> <div class='ipsReact ipsPos_right'> <div class='ipsReact_blurb ipsHide' data-role='reactionBlurb'> </div> </div> </div> <ul class='ipsComment_controls ipsClearfix ipsItemControls_left' data-role="commentControls"> <li class='ipsHide' data-role='commentLoading'> <span class='ipsLoading ipsLoading_tiny ipsLoading_noAnim'></span> </li> </ul> </div> </div> <div class='ipsMenu ipsMenu_wide ipsHide cPostShareMenu' id='elSharePost_115862_menu'> <div class='ipsPad'> <h4 class='ipsType_sectionHead'>Share this post</h4> <hr class='ipsHr'> <h5 class='ipsType_normal ipsType_reset'>Link to post</h5> <input type='text' value='https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment&comment=115862' class='ipsField_fullWidth'> <h5 class='ipsType_normal ipsType_reset ipsSpacer_top'>Share on other sites</h5> <ul class='ipsList_inline ipsList_noSpacing ipsClearfix' data-controller="core.front.core.sharelink"> <li> <a href="http://twitter.com/share?text=Child%20Theme%20functions.php%20and%20library.templates.php%20Modifying&url=https%3A%2F%2Fforum.pagelines.com%2Ftopic%2F19778-child-theme-functionsphp-and-librarytemplatesphp-modifying%2F%3Fdo%3DfindComment%26comment%3D115862" class="cShareLink cShareLink_twitter" target="_blank" data-role="shareLink" title='Share on Twitter' data-ipsTooltip rel='noopener'> <i class="fa fa-twitter"></i> </a></li> <li> <a href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fforum.pagelines.com%2Ftopic%2F19778-child-theme-functionsphp-and-librarytemplatesphp-modifying%2F%3Fdo%3DfindComment%26comment%3D115862" class="cShareLink cShareLink_facebook" target="_blank" data-role="shareLink" title='Share on Facebook' data-ipsTooltip rel='noopener'> <i class="fa fa-facebook"></i> </a></li> <li> <a href="https://plus.google.com/share?url=https%3A%2F%2Fforum.pagelines.com%2Ftopic%2F19778-child-theme-functionsphp-and-librarytemplatesphp-modifying%2F%3Fdo%3DfindComment%26comment%3D115862" class="cShareLink cShareLink_google" target="_blank" data-role="shareLink" title='Share on Google+' data-ipsTooltip rel='noopener'> <i class="fa fa-google-plus"></i> </a></li> <li> <a href="http://pinterest.com/pin/create/button/?url=https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment%26comment=115862&media=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_01/default-touch-icon.png.cdc50bc95f89a5ab303272ce37a14c6d.png" class="cShareLink cShareLink_pinterest" target="_blank" data-role="shareLink" title='Share on Pinterest' data-ipsTooltip rel='noopener'> <i class="fa fa-pinterest"></i> </a></li> </ul> </div> </div> </div> </div> </article> <a id="comment-115865"></a> <article id="elComment_115865" class="cPost ipsBox ipsComment ipsComment_parent ipsClearfix ipsClear ipsColumns ipsColumns_noSpacing ipsColumns_collapsePhone "> <div class="cAuthorPane cAuthorPane_mobile ipsResponsive_showPhone ipsResponsive_block"> <h3 class="ipsType_sectionHead cAuthorPane_author ipsResponsive_showPhone ipsResponsive_inlineBlock ipsType_break ipsType_blendLinks ipsTruncate ipsTruncate_line"> catrina <span class="ipsResponsive_showPhone ipsResponsive_inline">   <span title="Member's total reputation" data-ipsTooltip class='ipsRepBadge ipsRepBadge_positive'> <i class='fa fa-plus-circle'></i> 103 </span> </span> </h3> <div class="cAuthorPane_photo"> <span class='ipsUserPhoto ipsUserPhoto_large '> <img src='https://secure.gravatar.com/avatar/574c0d1577780ce5b742018984f40cf5?d=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_06/C.png.89f7e4160503aea796032445c29d1368.png' alt='catrina'> </span> </div> </div> <aside class="ipsComment_author cAuthorPane ipsColumn ipsColumn_medium ipsResponsive_hidePhone"><h3 class="ipsType_sectionHead cAuthorPane_author ipsType_blendLinks ipsType_break"> <strong> catrina</strong> <span class="ipsResponsive_showPhone ipsResponsive_inline">   <span title="Member's total reputation" data-ipsTooltip class='ipsRepBadge ipsRepBadge_positive'> <i class='fa fa-plus-circle'></i> 103 </span> </span> </h3> <ul class="cAuthorPane_info ipsList_reset"> <li class="ipsType_break">Advocate</li> <li><span class='ipsPip'></span><span class='ipsPip'></span><span class='ipsPip'></span><span class='ipsPip'></span><span class='ipsPip'></span></li> <li class="cAuthorPane_photo"> <span class='ipsUserPhoto ipsUserPhoto_large '> <img src='https://secure.gravatar.com/avatar/574c0d1577780ce5b742018984f40cf5?d=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_06/C.png.89f7e4160503aea796032445c29d1368.png' alt='catrina'> </span> </li> <li>Members</li> <li> <span title="Member's total reputation" data-ipsTooltip class='ipsRepBadge ipsRepBadge_positive'> <i class='fa fa-plus-circle'></i> 103 </span> </li> <li class="ipsType_light">12,128 posts</li> <li class='ipsResponsive_hidePhone ipsType_break'> <span class='ft'>Location: </span><span class='fc'>California</span> </li> </ul></aside><div class="ipsColumn ipsColumn_fluid"> <div id='comment-115865_wrap' data-controller='core.front.core.comment' data-commentApp='forums' data-commentType='forums' data-commentID="115865" data-quoteData='{"userid":8837,"username":"catrina","timestamp":1339778925,"contentapp":"forums","contenttype":"forums","contentid":19778,"contentclass":"forums_Topic","contentcommentid":115865}' class='ipsComment_content ipsType_medium ipsFaded_withHover'> <div class='ipsComment_meta ipsType_light'> <div class='ipsPos_right ipsType_light ipsType_reset ipsFaded ipsFaded_more ipsType_blendLinks'> <ul class='ipsList_inline ipsComment_tools'> <li><a href='https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=reportComment&comment=115865' data-ipsDialog data-ipsDialog-remoteSubmit data-ipsDialog-size='medium' data-ipsDialog-flashMessage='Thanks for your report.' data-ipsDialog-title="Report post" data-action='reportComment' title='Report this content' class='ipsFaded ipsFaded_more'><span class='ipsResponsive_showPhone ipsResponsive_inline'><i class='fa fa-flag'></i></span><span class='ipsResponsive_hidePhone ipsResponsive_inline'>Report post</span></a></li> <li><a class='ipsType_blendLinks' href='https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment&comment=115865' data-ipsTooltip title='Share this post' data-ipsMenu data-ipsMenu-closeOnClick='false' id='elSharePost_115865' data-role='shareComment'><i class='fa fa-share-alt'></i></a></li> </ul> </div> <div class='ipsType_reset'> <a href='https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment&comment=115865' class='ipsType_blendLinks'>Posted <time datetime='2012-06-15T16:48:45Z' title='06/15/2012 04:48 PM' data-short='5 yr'>June 15, 2012</time></a> <span class='ipsResponsive_hidePhone'> </span> </div> </div> <div class='cPost_contentWrap ipsPad'> <div data-role='commentContent' class='ipsType_normal ipsType_richText ipsContained' data-controller='core.front.core.lightboxedImages'> If this is also plugin-related, you may want to get in touch with the plugin creator and inquire about any possible solution for this from the plugin's end. I can't provide support for plugin-related issues since I'm not familiar with the plugins. (Just ask "what's a possible reason why 'MULTIFEED_START' is added to <title> tags on my WordPress site?" </div> <div class='ipsItemControls'> <div data-controller='core.front.core.reaction' class='ipsItemControls_right ipsClearfix '> <div class='ipsReact ipsPos_right'> <div class='ipsReact_blurb ipsHide' data-role='reactionBlurb'> </div> </div> </div> <ul class='ipsComment_controls ipsClearfix ipsItemControls_left' data-role="commentControls"> <li class='ipsHide' data-role='commentLoading'> <span class='ipsLoading ipsLoading_tiny ipsLoading_noAnim'></span> </li> </ul> </div> <div data-role="memberSignature" class="ipsResponsive_hidePhone"> <hr class="ipsHr"> </hr> <div class="ipsType_light ipsType_richText"> <p></p><p><span style="font-size:12px;">Please <strong><a href="http://pagelines.com/wiki" rel="external nofollow">read the docs</a></strong> before posting. Please do not private message me unless I ask you to.</span> </p><p>Designer | <a href="http://www.catrinadulay.com" rel="external nofollow"><b>Catrina Dulay</b></a> </p><p>Founder | <a href="http://www.catrinaandmouse.com" rel="external nofollow"><b>Catrina and Mouse</b></a></p> </div> </div> </div> <div class='ipsMenu ipsMenu_wide ipsHide cPostShareMenu' id='elSharePost_115865_menu'> <div class='ipsPad'> <h4 class='ipsType_sectionHead'>Share this post</h4> <hr class='ipsHr'> <h5 class='ipsType_normal ipsType_reset'>Link to post</h5> <input type='text' value='https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment&comment=115865' class='ipsField_fullWidth'> <h5 class='ipsType_normal ipsType_reset ipsSpacer_top'>Share on other sites</h5> <ul class='ipsList_inline ipsList_noSpacing ipsClearfix' data-controller="core.front.core.sharelink"> <li> <a href="http://twitter.com/share?text=Child%20Theme%20functions.php%20and%20library.templates.php%20Modifying&url=https%3A%2F%2Fforum.pagelines.com%2Ftopic%2F19778-child-theme-functionsphp-and-librarytemplatesphp-modifying%2F%3Fdo%3DfindComment%26comment%3D115865" class="cShareLink cShareLink_twitter" target="_blank" data-role="shareLink" title='Share on Twitter' data-ipsTooltip rel='noopener'> <i class="fa fa-twitter"></i> </a></li> <li> <a href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fforum.pagelines.com%2Ftopic%2F19778-child-theme-functionsphp-and-librarytemplatesphp-modifying%2F%3Fdo%3DfindComment%26comment%3D115865" class="cShareLink cShareLink_facebook" target="_blank" data-role="shareLink" title='Share on Facebook' data-ipsTooltip rel='noopener'> <i class="fa fa-facebook"></i> </a></li> <li> <a href="https://plus.google.com/share?url=https%3A%2F%2Fforum.pagelines.com%2Ftopic%2F19778-child-theme-functionsphp-and-librarytemplatesphp-modifying%2F%3Fdo%3DfindComment%26comment%3D115865" class="cShareLink cShareLink_google" target="_blank" data-role="shareLink" title='Share on Google+' data-ipsTooltip rel='noopener'> <i class="fa fa-google-plus"></i> </a></li> <li> <a href="http://pinterest.com/pin/create/button/?url=https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment%26comment=115865&media=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_01/default-touch-icon.png.cdc50bc95f89a5ab303272ce37a14c6d.png" class="cShareLink cShareLink_pinterest" target="_blank" data-role="shareLink" title='Share on Pinterest' data-ipsTooltip rel='noopener'> <i class="fa fa-pinterest"></i> </a></li> </ul> </div> </div> </div> </div> </article> <a id="comment-115866"></a> <article id="elComment_115866" class="cPost ipsBox ipsComment ipsComment_parent ipsClearfix ipsClear ipsColumns ipsColumns_noSpacing ipsColumns_collapsePhone "> <div class="cAuthorPane cAuthorPane_mobile ipsResponsive_showPhone ipsResponsive_block"> <h3 class="ipsType_sectionHead cAuthorPane_author ipsResponsive_showPhone ipsResponsive_inlineBlock ipsType_break ipsType_blendLinks ipsTruncate ipsTruncate_line"> red3media <span class="ipsResponsive_showPhone ipsResponsive_inline">   <span title="Member's total reputation" data-ipsTooltip class='ipsRepBadge ipsRepBadge_neutral'> <i class='fa fa-circle'></i> 0 </span> </span> </h3> <div class="cAuthorPane_photo"> <span class='ipsUserPhoto ipsUserPhoto_large '> <img src='https://secure.gravatar.com/avatar/0699512ccfb907720f9725d7a94e728d?d=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_06/R.png.3931bc9aa69dde75ace4b655b23128ef.png' alt='red3media'> </span> </div> </div> <aside class="ipsComment_author cAuthorPane ipsColumn ipsColumn_medium ipsResponsive_hidePhone"><h3 class="ipsType_sectionHead cAuthorPane_author ipsType_blendLinks ipsType_break"> <strong> red3media</strong> <span class="ipsResponsive_showPhone ipsResponsive_inline">   <span title="Member's total reputation" data-ipsTooltip class='ipsRepBadge ipsRepBadge_neutral'> <i class='fa fa-circle'></i> 0 </span> </span> </h3> <ul class="cAuthorPane_info ipsList_reset"> <li class="ipsType_break">Member</li> <li><span class='ipsPip'></span><span class='ipsPip'></span></li> <li class="cAuthorPane_photo"> <span class='ipsUserPhoto ipsUserPhoto_large '> <img src='https://secure.gravatar.com/avatar/0699512ccfb907720f9725d7a94e728d?d=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_06/R.png.3931bc9aa69dde75ace4b655b23128ef.png' alt='red3media'> </span> </li> <li>Members</li> <li> <span title="Member's total reputation" data-ipsTooltip class='ipsRepBadge ipsRepBadge_neutral'> <i class='fa fa-circle'></i> 0 </span> </li> <li class="ipsType_light">20 posts</li> </ul></aside><div class="ipsColumn ipsColumn_fluid"> <div id='comment-115866_wrap' data-controller='core.front.core.comment' data-commentApp='forums' data-commentType='forums' data-commentID="115866" data-quoteData='{"userid":31926,"username":"red3media","timestamp":1339780027,"contentapp":"forums","contenttype":"forums","contentid":19778,"contentclass":"forums_Topic","contentcommentid":115866}' class='ipsComment_content ipsType_medium ipsFaded_withHover'> <div class='ipsComment_meta ipsType_light'> <div class='ipsPos_right ipsType_light ipsType_reset ipsFaded ipsFaded_more ipsType_blendLinks'> <ul class='ipsList_inline ipsComment_tools'> <li><a href='https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=reportComment&comment=115866' data-ipsDialog data-ipsDialog-remoteSubmit data-ipsDialog-size='medium' data-ipsDialog-flashMessage='Thanks for your report.' data-ipsDialog-title="Report post" data-action='reportComment' title='Report this content' class='ipsFaded ipsFaded_more'><span class='ipsResponsive_showPhone ipsResponsive_inline'><i class='fa fa-flag'></i></span><span class='ipsResponsive_hidePhone ipsResponsive_inline'>Report post</span></a></li> <li><a class='ipsType_blendLinks' href='https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment&comment=115866' data-ipsTooltip title='Share this post' data-ipsMenu data-ipsMenu-closeOnClick='false' id='elSharePost_115866' data-role='shareComment'><i class='fa fa-share-alt'></i></a></li> </ul> </div> <div class='ipsType_reset'> <a href='https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment&comment=115866' class='ipsType_blendLinks'>Posted <time datetime='2012-06-15T17:07:07Z' title='06/15/2012 05:07 PM' data-short='5 yr'>June 15, 2012</time></a> <span class='ipsResponsive_hidePhone'> </span> </div> </div> <div class='cPost_contentWrap ipsPad'> <div data-role='commentContent' class='ipsType_normal ipsType_richText ipsContained' data-controller='core.front.core.lightboxedImages'> Already have.... Thanks </div> <div class='ipsItemControls'> <div data-controller='core.front.core.reaction' class='ipsItemControls_right ipsClearfix '> <div class='ipsReact ipsPos_right'> <div class='ipsReact_blurb ipsHide' data-role='reactionBlurb'> </div> </div> </div> <ul class='ipsComment_controls ipsClearfix ipsItemControls_left' data-role="commentControls"> <li class='ipsHide' data-role='commentLoading'> <span class='ipsLoading ipsLoading_tiny ipsLoading_noAnim'></span> </li> </ul> </div> </div> <div class='ipsMenu ipsMenu_wide ipsHide cPostShareMenu' id='elSharePost_115866_menu'> <div class='ipsPad'> <h4 class='ipsType_sectionHead'>Share this post</h4> <hr class='ipsHr'> <h5 class='ipsType_normal ipsType_reset'>Link to post</h5> <input type='text' value='https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment&comment=115866' class='ipsField_fullWidth'> <h5 class='ipsType_normal ipsType_reset ipsSpacer_top'>Share on other sites</h5> <ul class='ipsList_inline ipsList_noSpacing ipsClearfix' data-controller="core.front.core.sharelink"> <li> <a href="http://twitter.com/share?text=Child%20Theme%20functions.php%20and%20library.templates.php%20Modifying&url=https%3A%2F%2Fforum.pagelines.com%2Ftopic%2F19778-child-theme-functionsphp-and-librarytemplatesphp-modifying%2F%3Fdo%3DfindComment%26comment%3D115866" class="cShareLink cShareLink_twitter" target="_blank" data-role="shareLink" title='Share on Twitter' data-ipsTooltip rel='noopener'> <i class="fa fa-twitter"></i> </a></li> <li> <a href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fforum.pagelines.com%2Ftopic%2F19778-child-theme-functionsphp-and-librarytemplatesphp-modifying%2F%3Fdo%3DfindComment%26comment%3D115866" class="cShareLink cShareLink_facebook" target="_blank" data-role="shareLink" title='Share on Facebook' data-ipsTooltip rel='noopener'> <i class="fa fa-facebook"></i> </a></li> <li> <a href="https://plus.google.com/share?url=https%3A%2F%2Fforum.pagelines.com%2Ftopic%2F19778-child-theme-functionsphp-and-librarytemplatesphp-modifying%2F%3Fdo%3DfindComment%26comment%3D115866" class="cShareLink cShareLink_google" target="_blank" data-role="shareLink" title='Share on Google+' data-ipsTooltip rel='noopener'> <i class="fa fa-google-plus"></i> </a></li> <li> <a href="http://pinterest.com/pin/create/button/?url=https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment%26comment=115866&media=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_01/default-touch-icon.png.cdc50bc95f89a5ab303272ce37a14c6d.png" class="cShareLink cShareLink_pinterest" target="_blank" data-role="shareLink" title='Share on Pinterest' data-ipsTooltip rel='noopener'> <i class="fa fa-pinterest"></i> </a></li> </ul> </div> </div> </div> </div> </article> <a id="comment-115900"></a> <article id="elComment_115900" class="cPost ipsBox ipsComment ipsComment_parent ipsClearfix ipsClear ipsColumns ipsColumns_noSpacing ipsColumns_collapsePhone "> <div class="cAuthorPane cAuthorPane_mobile ipsResponsive_showPhone ipsResponsive_block"> <h3 class="ipsType_sectionHead cAuthorPane_author ipsResponsive_showPhone ipsResponsive_inlineBlock ipsType_break ipsType_blendLinks ipsTruncate ipsTruncate_line"> Rob <span class="ipsResponsive_showPhone ipsResponsive_inline">   <span title="Member's total reputation" data-ipsTooltip class='ipsRepBadge ipsRepBadge_positive'> <i class='fa fa-plus-circle'></i> 547 </span> </span> </h3> <div class="cAuthorPane_photo"> <span class='ipsUserPhoto ipsUserPhoto_large '> <img src='//forum-pagelines.netdna-ssl.com/uploads/profile/photo-thumb-6.jpg' alt='Rob'> </span> </div> </div> <aside class="ipsComment_author cAuthorPane ipsColumn ipsColumn_medium ipsResponsive_hidePhone"><h3 class="ipsType_sectionHead cAuthorPane_author ipsType_blendLinks ipsType_break"> <strong> Rob</strong> <span class="ipsResponsive_showPhone ipsResponsive_inline">   <span title="Member's total reputation" data-ipsTooltip class='ipsRepBadge ipsRepBadge_positive'> <i class='fa fa-plus-circle'></i> 547 </span> </span> </h3> <ul class="cAuthorPane_info ipsList_reset"> <li class="ipsType_break">One Smart Egg</li> <li><span class='ipsPip'></span><span class='ipsPip'></span><span class='ipsPip'></span><span class='ipsPip'></span><span class='ipsPip'></span></li> <li class="cAuthorPane_photo"> <span class='ipsUserPhoto ipsUserPhoto_large '> <img src='//forum-pagelines.netdna-ssl.com/uploads/profile/photo-thumb-6.jpg' alt='Rob'> </span> </li> <li>Members</li> <li> <span title="Member's total reputation" data-ipsTooltip class='ipsRepBadge ipsRepBadge_positive'> <i class='fa fa-plus-circle'></i> 547 </span> </li> <li class="ipsType_light">13,507 posts</li> <li class='ipsResponsive_hidePhone ipsType_break'> <span class='ft'>Location: </span><span class='fc'>East Coast, USA</span> </li> </ul></aside><div class="ipsColumn ipsColumn_fluid"> <div id='comment-115900_wrap' data-controller='core.front.core.comment' data-commentApp='forums' data-commentType='forums' data-commentID="115900" data-quoteData='{"userid":6,"username":"Rob","timestamp":1339793121,"contentapp":"forums","contenttype":"forums","contentid":19778,"contentclass":"forums_Topic","contentcommentid":115900}' class='ipsComment_content ipsType_medium ipsFaded_withHover'> <div class='ipsComment_meta ipsType_light'> <div class='ipsPos_right ipsType_light ipsType_reset ipsFaded ipsFaded_more ipsType_blendLinks'> <ul class='ipsList_inline ipsComment_tools'> <li><a href='https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=reportComment&comment=115900' data-ipsDialog data-ipsDialog-remoteSubmit data-ipsDialog-size='medium' data-ipsDialog-flashMessage='Thanks for your report.' data-ipsDialog-title="Report post" data-action='reportComment' title='Report this content' class='ipsFaded ipsFaded_more'><span class='ipsResponsive_showPhone ipsResponsive_inline'><i class='fa fa-flag'></i></span><span class='ipsResponsive_hidePhone ipsResponsive_inline'>Report post</span></a></li> <li><a class='ipsType_blendLinks' href='https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment&comment=115900' data-ipsTooltip title='Share this post' data-ipsMenu data-ipsMenu-closeOnClick='false' id='elSharePost_115900' data-role='shareComment'><i class='fa fa-share-alt'></i></a></li> </ul> </div> <div class='ipsType_reset'> <a href='https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment&comment=115900' class='ipsType_blendLinks'>Posted <time datetime='2012-06-15T20:45:21Z' title='06/15/2012 08:45 PM' data-short='5 yr'>June 15, 2012</time></a> <span class='ipsResponsive_hidePhone'> </span> </div> </div> <div class='cPost_contentWrap ipsPad'> <div data-role='commentContent' class='ipsType_normal ipsType_richText ipsContained' data-controller='core.front.core.lightboxedImages'> If you deactivate the plugin, does this issue about the title tag go away? I suspect that the if statement you want to add should really be part of the plugin, not one of our files. If not in the plugin, likely it should be inside one of the WP files I suspect Catrina was correct in this. The question you ultimately have is with the plugin. I don't believe using library.templates.php in or out of the includes folder will resolve this as PageLines doesn't actually create the title of a post or page. That's a WordPress function. We merely display it. </div> <div class='ipsItemControls'> <div data-controller='core.front.core.reaction' class='ipsItemControls_right ipsClearfix '> <div class='ipsReact ipsPos_right'> <div class='ipsReact_blurb ipsHide' data-role='reactionBlurb'> </div> </div> </div> <ul class='ipsComment_controls ipsClearfix ipsItemControls_left' data-role="commentControls"> <li class='ipsHide' data-role='commentLoading'> <span class='ipsLoading ipsLoading_tiny ipsLoading_noAnim'></span> </li> </ul> </div> <div data-role="memberSignature" class="ipsResponsive_hidePhone"> <hr class="ipsHr"> </hr> <div class="ipsType_light ipsType_richText"> <em><strong>Former PageLines Moderator, Food Expert</strong></em> and <em><strong>Raconteur</strong></em> </div> </div> </div> <div class='ipsMenu ipsMenu_wide ipsHide cPostShareMenu' id='elSharePost_115900_menu'> <div class='ipsPad'> <h4 class='ipsType_sectionHead'>Share this post</h4> <hr class='ipsHr'> <h5 class='ipsType_normal ipsType_reset'>Link to post</h5> <input type='text' value='https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment&comment=115900' class='ipsField_fullWidth'> <h5 class='ipsType_normal ipsType_reset ipsSpacer_top'>Share on other sites</h5> <ul class='ipsList_inline ipsList_noSpacing ipsClearfix' data-controller="core.front.core.sharelink"> <li> <a href="http://twitter.com/share?text=Child%20Theme%20functions.php%20and%20library.templates.php%20Modifying&url=https%3A%2F%2Fforum.pagelines.com%2Ftopic%2F19778-child-theme-functionsphp-and-librarytemplatesphp-modifying%2F%3Fdo%3DfindComment%26comment%3D115900" class="cShareLink cShareLink_twitter" target="_blank" data-role="shareLink" title='Share on Twitter' data-ipsTooltip rel='noopener'> <i class="fa fa-twitter"></i> </a></li> <li> <a href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fforum.pagelines.com%2Ftopic%2F19778-child-theme-functionsphp-and-librarytemplatesphp-modifying%2F%3Fdo%3DfindComment%26comment%3D115900" class="cShareLink cShareLink_facebook" target="_blank" data-role="shareLink" title='Share on Facebook' data-ipsTooltip rel='noopener'> <i class="fa fa-facebook"></i> </a></li> <li> <a href="https://plus.google.com/share?url=https%3A%2F%2Fforum.pagelines.com%2Ftopic%2F19778-child-theme-functionsphp-and-librarytemplatesphp-modifying%2F%3Fdo%3DfindComment%26comment%3D115900" class="cShareLink cShareLink_google" target="_blank" data-role="shareLink" title='Share on Google+' data-ipsTooltip rel='noopener'> <i class="fa fa-google-plus"></i> </a></li> <li> <a href="http://pinterest.com/pin/create/button/?url=https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment%26comment=115900&media=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_01/default-touch-icon.png.cdc50bc95f89a5ab303272ce37a14c6d.png" class="cShareLink cShareLink_pinterest" target="_blank" data-role="shareLink" title='Share on Pinterest' data-ipsTooltip rel='noopener'> <i class="fa fa-pinterest"></i> </a></li> </ul> </div> </div> </div> </div> </article> <input type="hidden" name="csrfKey" value="81cf680614d2d98e82ba6c0a44795d8a" /> </form> </div> <a id="replyForm"></a> <div data-role="replyArea" class="cTopicPostArea ipsAreaBackground ipsPad cTopicPostArea_noSize ipsSpacer_top"> <div class='ipsType_center ipsPad cGuestTeaser'> <h2 class='ipsType_pageTitle'>Create an account or sign in to comment</h2> <p class='ipsType_light ipsType_normal ipsType_reset'>You need to be a member in order to leave a comment</p> <div class='ipsBox ipsPad ipsSpacer_top'> <div class='ipsGrid ipsGrid_collapsePhone'> <div class='ipsGrid_span6 cGuestTeaser_left'> <h2 class='ipsType_sectionHead'>Create an account</h2> <p class='ipsType_normal ipsType_reset ipsType_light ipsSpacer_bottom'>Sign up for a new account in our community. It's easy!</p> <a href='https://forum.pagelines.com/register/' class='ipsButton ipsButton_primary ipsButton_small'>Register a new account</a> </div> <div class='ipsGrid_span6 cGuestTeaser_right'> <h2 class='ipsType_sectionHead'>Sign in</h2> <p class='ipsType_normal ipsType_reset ipsType_light ipsSpacer_bottom'>Already have an account? Sign in here.</p> <a href='https://forum.pagelines.com/login/?ref=aHR0cHM6Ly9mb3J1bS5wYWdlbGluZXMuY29tL3RvcGljLzE5Nzc4LWNoaWxkLXRoZW1lLWZ1bmN0aW9uc3BocC1hbmQtbGlicmFyeXRlbXBsYXRlc3BocC1tb2RpZnlpbmcvI3JlcGx5Rm9ybQ==' data-ipsDialog data-ipsDialog-size='medium' data-ipsDialog-title="Sign In Now" class='ipsButton ipsButton_primary ipsButton_small'>Sign In Now</a> </div> </div> <hr class='ipsHr'> <ul class='ipsList_inline ipsList_noSpacing'> <li class='ipsType_center ipsPos_center cGuestTeaser_social'> <p><a class='ipsButton ipsButton_primary ipsButton_small' href='https://www.pagelines.com/oauth/authorize/?client_id=hEnbWGJOYaVuAf9gTz7InAr1M38TRc&response_type=code&redirect_uri=https://forum.pagelines.com/applications/core/interface/pagelines/auth.php'><i class='fa fa-pagelines'></i> Login via PageLines</a></p><p><a target='_blank' class='ipsButton ipsButton_primary ipsButton_small' href='https://www.pagelines.com/my-account/'><i class='fa fa-pagelines'></i> Signup To PageLines</a></p> </li> </ul> </div> </div> </div> <div class="ipsResponsive_noFloat ipsResponsive_showPhone ipsResponsive_block ipsSpacer_top"> <div data-followApp='forums' data-followArea='topic' data-followID='19778' data-controller='core.front.core.followButton'> <span class='ipsType_light ipsType_blendLinks ipsResponsive_hidePhone ipsResponsive_inline'><i class='fa fa-info-circle'></i> <a href='https://forum.pagelines.com/login/' title='Go to the sign in page'>Sign in to follow this</a>  </span> <div class="ipsFollow ipsPos_middle ipsButton ipsButton_link ipsButton_verySmall ipsButton_disabled" data-role="followButton"> <span>Followers</span> <span class='ipsCommentCount'>0</span> </div> </div> </div> <div class="ipsResponsive_noFloat ipsResponsive_showPhone ipsResponsive_block ipsSpacer_top"> </div> </div> <div class="ipsGrid ipsGrid_collapsePhone ipsPager ipsClearfix ipsSpacer_top ipsContained"> <div class="ipsGrid_span6 ipsType_left ipsPager_prev "> <a href="https://forum.pagelines.com/forum/98-dms-legacy-products/" title="Go to DMS & Legacy Products" rel="up"> <span class="ipsPager_type">Go To Topic Listing</span> <span class="ipsPager_title ipsType_light ipsTruncate ipsTruncate_line">DMS & Legacy Products</span> </a> </div> </div> <hr class="ipsHr"> <ul class='ipsList_inline ipsList_noSpacing ipsClearfix' data-controller="core.front.core.sharelink"> <li> <a href="http://twitter.com/share?text=Child%20Theme%20functions.php%20and%20library.templates.php%20Modifying&url=https%3A%2F%2Fforum.pagelines.com%2Ftopic%2F19778-child-theme-functionsphp-and-librarytemplatesphp-modifying%2F" class="cShareLink cShareLink_twitter" target="_blank" data-role="shareLink" title='Share on Twitter' data-ipsTooltip rel='noopener'> <i class="fa fa-twitter"></i> </a></li> <li> <a href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fforum.pagelines.com%2Ftopic%2F19778-child-theme-functionsphp-and-librarytemplatesphp-modifying%2F" class="cShareLink cShareLink_facebook" target="_blank" data-role="shareLink" title='Share on Facebook' data-ipsTooltip rel='noopener'> <i class="fa fa-facebook"></i> </a></li> <li> <a href="https://plus.google.com/share?url=https%3A%2F%2Fforum.pagelines.com%2Ftopic%2F19778-child-theme-functionsphp-and-librarytemplatesphp-modifying%2F" class="cShareLink cShareLink_google" target="_blank" data-role="shareLink" title='Share on Google+' data-ipsTooltip rel='noopener'> <i class="fa fa-google-plus"></i> </a></li> <li> <a href="http://pinterest.com/pin/create/button/?url=https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/&media=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_01/default-touch-icon.png.cdc50bc95f89a5ab303272ce37a14c6d.png" class="cShareLink cShareLink_pinterest" target="_blank" data-role="shareLink" title='Share on Pinterest' data-ipsTooltip rel='noopener'> <i class="fa fa-pinterest"></i> </a></li> </ul> <div class='cWidgetContainer ' data-role='widgetReceiver' data-orientation='horizontal' data-widgetArea='footer'> <ul class='ipsList_reset'> <li class='ipsWidget ipsWidget_horizontal ipsBox ipsWidgetHide ipsHide' data-blockID='app_core_relatedContent_5s2q7clyz' data-blockConfig="true" data-blockTitle="Similar Content" data-blockErrorMessage="This block cannot be shown. This could be because it needs configuring, is unable to show on this page, or will show after reloading this page." data-controller='core.front.widgets.block'></li> </ul> </div> </div> <nav class='ipsBreadcrumb ipsBreadcrumb_bottom ipsFaded_withHover'> <ul class='ipsList_inline ipsPos_right'> <li > <a data-action="defaultStream" class='ipsType_light ' href='https://forum.pagelines.com/discover/'><i class='icon-newspaper'></i> <span>All Activity</span></a> </li> </ul> <ul data-role="breadcrumbList"> <li> <a title="Home" href='https://forum.pagelines.com/'> <span><i class='fa fa-home'></i> Home <i class='fa fa-angle-right'></i></span> </a> </li> <li> <a href='https://forum.pagelines.com/forum/94-pagelines/'> <span>PageLines <i class='fa fa-angle-right'></i></span> </a> </li> <li> <a href='https://forum.pagelines.com/forum/98-dms-legacy-products/'> <span>DMS & Legacy Products <i class='fa fa-angle-right'></i></span> </a> </li> <li> Child Theme functions.php and library.templates.php Modifying </li> </ul> </nav> </div> </div> </main><footer id="ipsLayout_footer" class="ipsClearfix"><div class="ipsLayout_container"> <div class='ipsAdvertisement ipsSpacer_both ipsSpacer_half'> <ul class='ipsList_inline ipsType_center ipsList_reset ipsList_noSpacing'> <li class='ipsAdvertisement_large ipsResponsive_showDesktop ipsResponsive_inlineBlock ipsAreaBackground_light'> <a href='https://forum.pagelines.com/index.php?app=core&module=system&controller=redirect&do=advertisement&ad=1&csrfKey=81cf680614d2d98e82ba6c0a44795d8a' rel='nofollow noopener'> <img src='//forum-pagelines.netdna-ssl.com/uploads/monthly_2016_07/Ad-Extensions-728x90.jpg.2f9ce2c57a0d0ba74d7d82c8eb7a5342.jpg' alt="advertisement_alt" class='ipsImage ipsContained'> </a> </li> <li class='ipsAdvertisement_medium ipsResponsive_showTablet ipsResponsive_inlineBlock ipsAreaBackground_light'> <a href='https://forum.pagelines.com/index.php?app=core&module=system&controller=redirect&do=advertisement&ad=1&csrfKey=81cf680614d2d98e82ba6c0a44795d8a' rel='nofollow noopener'> <img src='//forum-pagelines.netdna-ssl.com/uploads/monthly_2016_07/Ad-Extensions-728x90.jpg.2f9ce2c57a0d0ba74d7d82c8eb7a5342.jpg' alt="advertisement_alt" class='ipsImage ipsContained'> </a> </li> <li class='ipsAdvertisement_small ipsResponsive_showPhone ipsResponsive_inlineBlock ipsAreaBackground_light'> <a href='https://forum.pagelines.com/index.php?app=core&module=system&controller=redirect&do=advertisement&ad=1&csrfKey=81cf680614d2d98e82ba6c0a44795d8a' rel='nofollow noopener'> <img src='//forum-pagelines.netdna-ssl.com/uploads/monthly_2016_07/Ad-Extensions-728x90.jpg.2f9ce2c57a0d0ba74d7d82c8eb7a5342.jpg' alt="advertisement_alt" class='ipsImage ipsContained'> </a> </li> </ul> </div> <ul class='ipsList_inline ipsType_center ipsSpacer_top' id="elFooterLinks"> <li><a rel="nofollow" href='https://forum.pagelines.com/contact/' >Contact Us</a></li> </ul> <p id='elCopyright'> <span id='elCopyright_userLine'></span> <a rel='nofollow' title='Invision Community' href='https://www.invisioncommunity.com/'>Powered by Invision Community</a> </p> </div> </footer> <div id='elMobileDrawer' class='ipsDrawer ipsHide'> <a href='#' class='ipsDrawer_close' data-action='close'><span>×</span></a> <div class='ipsDrawer_menu'> <div class='ipsDrawer_content'> <div class='ipsSpacer_bottom ipsPad'> <ul class='ipsToolList ipsToolList_vertical'> <li> <a href='https://forum.pagelines.com/login/' class='ipsButton ipsButton_light ipsButton_small ipsButton_fullWidth'>Existing user? Sign In</a> </li> <li> <a href='https://forum.pagelines.com/register/' id='elRegisterButton_mobile' class='ipsButton ipsButton_small ipsButton_fullWidth ipsButton_important'>Sign Up</a> </li> </ul> </div> <ul class='ipsDrawer_list'> <li><a href='https://forum.pagelines.com' >Forums</a></li> </ul> </div> </div> </div> <script type='text/javascript'> var ipsDebug = false; var CKEDITOR_BASEPATH = '//forum.pagelines.com/applications/core/interface/ckeditor/ckeditor/'; var ipsSettings = { cookie_path: "/", cookie_prefix: "ips4_", cookie_ssl: true, upload_imgURL: "", message_imgURL: "", notification_imgURL: "", baseURL: "//forum.pagelines.com/", jsURL: "//forum.pagelines.com/applications/core/interface/js/js.php", csrfKey: "81cf680614d2d98e82ba6c0a44795d8a", antiCache: "0649a56e7a", disableNotificationSounds: false, useCompiledFiles: true, links_external: true, memberID: 0, analyticsProvider: "ga", viewProfiles: false, }; </script> <script type='text/javascript' src='//forum-pagelines.netdna-ssl.com/uploads/javascript_global/root_library.js.ab755967db93a515f1fe475646385dc7.js' data-ips></script> <script type='text/javascript' src='//forum-pagelines.netdna-ssl.com/uploads/javascript_global/root_js_lang_1.js.6155a343f83c64055963f331d421d273.js' data-ips></script> <script type='text/javascript' src='//forum-pagelines.netdna-ssl.com/uploads/javascript_global/root_framework.js.20952ad8efe0dbe7d5c55604681a4f94.js' data-ips></script> <script type='text/javascript' src='//forum-pagelines.netdna-ssl.com/uploads/javascript_core/global_global_core.js.3f639c6ef0722225968240fcdf81e030.js' data-ips></script> <script type='text/javascript' src='//forum-pagelines.netdna-ssl.com/uploads/javascript_core/plugins_plugins.js.5cf6ec28a29179ac0676668d544f7f15.js' data-ips></script> <script type='text/javascript' src='//forum-pagelines.netdna-ssl.com/uploads/javascript_global/root_front.js.e13c27c57a99f21f4d621be1293d5b5c.js' data-ips></script> <script type='text/javascript' src='//forum-pagelines.netdna-ssl.com/uploads/javascript_forums/front_front_topic.js.3ab19ad324656a74d4fed317f330dc9d.js' data-ips></script> <script type='text/javascript' src='//forum-pagelines.netdna-ssl.com/uploads/javascript_core/front_front_core.js.1b3752d95970ed173879793dbb552844.js' data-ips></script> <script type='text/javascript' src='//forum-pagelines.netdna-ssl.com/uploads/javascript_global/root_map.js.0e93dede8cd44dda697ca77f1c460e0f.js' data-ips></script> <script type='text/javascript'> ips.setSetting( 'date_format', jQuery.parseJSON('"mm\/dd\/yy"') ); ips.setSetting( 'date_first_day', jQuery.parseJSON('0') ); ips.setSetting( 'remote_image_proxy', jQuery.parseJSON('1') ); ips.setSetting( 'ipb_url_filter_option', jQuery.parseJSON('"none"') ); ips.setSetting( 'url_filter_any_action', jQuery.parseJSON('"allow"') ); ips.setSetting( 'bypass_profanity', jQuery.parseJSON('0') ); </script> <script type='application/ld+json'> { "@context": "http://schema.org", "@type": "DiscussionForumPosting", "url": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/", "discussionUrl": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/", "name": "Child Theme functions.php and library.templates.php Modifying", "headline": "Child Theme functions.php and library.templates.php Modifying", "text": "I\u0027m trying to modify the pagelines_title_tag() function for a custom display.\n\t\n\tCan I duplicate the includes folder with the library.templates.php file into my Child Theme and modify the display for pagelines_title_tag()?\n\t\n\tOr do I just add some code to the functions.php file under my child theme?\n\t\n\tPlease help! I\u0027ve been messing around with this all day and I can\u0027t find exactly what I\u0027m looking for!\n\t\n\tThanks!", "dateCreated": "2012-06-13T20:55:56+0000", "datePublished": "2012-06-13T20:55:56+0000", "pageStart": 1, "pageEnd": 1, "image": "https://secure.gravatar.com/avatar/0699512ccfb907720f9725d7a94e728d?d=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_06/R.png.3931bc9aa69dde75ace4b655b23128ef.png", "author": { "@type": "Person", "name": "red3media", "image": "https://secure.gravatar.com/avatar/0699512ccfb907720f9725d7a94e728d?d=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_06/R.png.3931bc9aa69dde75ace4b655b23128ef.png", "url": "https://forum.pagelines.com/profile/31926-red3media/" }, "interactionStatistic": [ { "@type": "InteractionCounter", "interactionType": "http://schema.org/ViewAction", "userInteractionCount": 3007 }, { "@type": "InteractionCounter", "interactionType": "http://schema.org/CommentAction", "userInteractionCount": 12 }, { "@type": "InteractionCounter", "interactionType": "http://schema.org/FollowAction", "userInteractionCount": 0 } ], "comment": [ { "@type": "Comment", "url": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment\u0026comment=19802", "author": { "@type": "Person", "name": "red3media", "image": "https://secure.gravatar.com/avatar/0699512ccfb907720f9725d7a94e728d?d=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_06/R.png.3931bc9aa69dde75ace4b655b23128ef.png", "url": "https://forum.pagelines.com/profile/31926-red3media/" }, "dateCreated": "2012-06-13T20:55:56+0000", "text": "I\u0027m trying to modify the pagelines_title_tag() function for a custom display.\n\t\n\tCan I duplicate the includes folder with the library.templates.php file into my Child Theme and modify the display for pagelines_title_tag()?\n\t\n\tOr do I just add some code to the functions.php file under my child theme?\n\t\n\tPlease help! I\u0027ve been messing around with this all day and I can\u0027t find exactly what I\u0027m looking for!\n\t\n\tThanks!", "mainEntityOfPage": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/" }, { "@type": "Comment", "url": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment\u0026comment=115683", "author": { "@type": "Person", "name": "catrina", "image": "https://secure.gravatar.com/avatar/574c0d1577780ce5b742018984f40cf5?d=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_06/C.png.89f7e4160503aea796032445c29d1368.png", "url": "https://forum.pagelines.com/profile/8837-catrina/" }, "dateCreated": "2012-06-14T02:06:15+0000", "text": "[quote]Can I duplicate the includes folder with the library.templates.php file into my Child Theme and modify the display for pagelines_title_tag()?[/quote]\u0026#13;\n\t\u0026#13;\n\tYou can copy the library.templates.php file into your child theme.", "mainEntityOfPage": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/" }, { "@type": "Comment", "url": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment\u0026comment=115717", "author": { "@type": "Person", "name": "red3media", "image": "https://secure.gravatar.com/avatar/0699512ccfb907720f9725d7a94e728d?d=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_06/R.png.3931bc9aa69dde75ace4b655b23128ef.png", "url": "https://forum.pagelines.com/profile/31926-red3media/" }, "dateCreated": "2012-06-14T14:10:45+0000", "text": "I tried that and I modified some code in the library file... It didn\u0027t seems to change anything.\u0026#13;\n\t\u0026#13;\n\tDo I need to copy the file and place it into a folder named includes under the childtheme?\u0026#13;\n\t\u0026#13;\n\tThanks", "mainEntityOfPage": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/" }, { "@type": "Comment", "url": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment\u0026comment=115812", "author": { "@type": "Person", "name": "catrina", "image": "https://secure.gravatar.com/avatar/574c0d1577780ce5b742018984f40cf5?d=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_06/C.png.89f7e4160503aea796032445c29d1368.png", "url": "https://forum.pagelines.com/profile/8837-catrina/" }, "dateCreated": "2012-06-15T02:55:15+0000", "text": "Try placing it in the folder and adding the folder.", "mainEntityOfPage": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/" }, { "@type": "Comment", "url": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment\u0026comment=115856", "author": { "@type": "Person", "name": "red3media", "image": "https://secure.gravatar.com/avatar/0699512ccfb907720f9725d7a94e728d?d=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_06/R.png.3931bc9aa69dde75ace4b655b23128ef.png", "url": "https://forum.pagelines.com/profile/31926-red3media/" }, "dateCreated": "2012-06-15T15:50:45+0000", "text": "[code]\u0026#13;\n\tfunction pagelines_title_tag(){\u0026#13;\n\t\techo \"n\n\";\u0026#13;\n\t\u0026#13;\n\t\tif ( !function_exists( \u0027aiosp_meta\u0027 ) \u0026amp;\u0026amp; !function_exists( \u0027wpseo_get_value\u0027 ) ) {\u0026#13;\n\t\t// Pagelines seo titles.\u0026#13;\n\t\t\tglobal $page, $paged;\u0026#13;\n\t\t\t$title = wp_title( \u0027|\u0027, false, \u0027right\u0027 );\u0026#13;\n\t\u0026#13;\n\t\t\t// Add the blog name.\u0026#13;\n\t\t\t$title .= get_bloginfo( \u0027name\u0027 );\u0026#13;\n\t\u0026#13;\n\t\t\t// Add the blog description for the home/front page.\u0026#13;\n\t\t\t$title .= ( ( is_home() || is_front_page() ) \u0026amp;\u0026amp; get_bloginfo( \u0027description\u0027, \u0027display\u0027 ) ) ? \u0027 | \u0027 . get_bloginfo( \u0027description\u0027, \u0027display\u0027 ) : \u0027\u0027;\u0026#13;\n\t\u0026#13;\n\t\t\t// Add a page number if necessary:\u0026#13;\n\t\t\t$title .= ( $paged \u0026gt;= 2 || $page \u0026gt;= 2 ) ? \u0027 | \u0027 . sprintf( __( \u0027Page %s\u0027, \u0027pagelines\u0027 ), max( $paged, $page ) ) : \u0027\u0027;\u0026#13;\n\t\t} else\u0026#13;\n\t\t\t$title = trim( wp_title( \u0027\u0027, false ) );\u0026#13;\n\t\u0026#13;\n\t\t// Print the title.\u0026#13;\n\t\techo apply_filters( \u0027pagelines_meta_title\u0027, $title );\u0026#13;\n\t\u0026#13;\n\t\techo \"n\";\u0026#13;\n\t}\u0026#13;\n\t\u0026#13;\n\t[/code]", "mainEntityOfPage": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/" }, { "@type": "Comment", "url": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment\u0026comment=115857", "author": { "@type": "Person", "name": "red3media", "image": "https://secure.gravatar.com/avatar/0699512ccfb907720f9725d7a94e728d?d=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_06/R.png.3931bc9aa69dde75ace4b655b23128ef.png", "url": "https://forum.pagelines.com/profile/31926-red3media/" }, "dateCreated": "2012-06-15T15:53:01+0000", "text": "Can someone help me modify this in my childtheme?\u0026#13;\n\t\u0026#13;\n\tThe problem is... I have a post with the title.... \"MULTIFEED_START_2_Iberiabank Visa\u00ae Classic CardMULTIFEED_END_2_ | CardRate.com\"\u0026#13;\n\t\u0026#13;\n\tI need to add an if statement to remove the \"MULTIFEED_START_2_\" and \"MULTIFEED_END_2_\" from all these posts from being displayed.\u0026#13;\n\t\u0026#13;\n\tThanks!", "mainEntityOfPage": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/" }, { "@type": "Comment", "url": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment\u0026comment=115860", "author": { "@type": "Person", "name": "catrina", "image": "https://secure.gravatar.com/avatar/574c0d1577780ce5b742018984f40cf5?d=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_06/C.png.89f7e4160503aea796032445c29d1368.png", "url": "https://forum.pagelines.com/profile/8837-catrina/" }, "dateCreated": "2012-06-15T16:16:48+0000", "text": "Do you have any multifeed plugins installed? (I\u0027m not sure where the \"MULTIFEED_START\" text can be coming from)", "mainEntityOfPage": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/" }, { "@type": "Comment", "url": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment\u0026comment=115861", "author": { "@type": "Person", "name": "red3media", "image": "https://secure.gravatar.com/avatar/0699512ccfb907720f9725d7a94e728d?d=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_06/R.png.3931bc9aa69dde75ace4b655b23128ef.png", "url": "https://forum.pagelines.com/profile/31926-red3media/" }, "dateCreated": "2012-06-15T16:26:24+0000", "text": "Yes... it\u0027s a XML feed importer", "mainEntityOfPage": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/" }, { "@type": "Comment", "url": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment\u0026comment=115862", "author": { "@type": "Person", "name": "red3media", "image": "https://secure.gravatar.com/avatar/0699512ccfb907720f9725d7a94e728d?d=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_06/R.png.3931bc9aa69dde75ace4b655b23128ef.png", "url": "https://forum.pagelines.com/profile/31926-red3media/" }, "dateCreated": "2012-06-15T16:28:02+0000", "text": "It only displays the MULTIFEED_START in the \n tags... On the post, the displays the title as \"Iberiabank Visa?\u00ae Classic Card\".\n", "mainEntityOfPage": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/" }, { "@type": "Comment", "url": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment\u0026comment=115865", "author": { "@type": "Person", "name": "catrina", "image": "https://secure.gravatar.com/avatar/574c0d1577780ce5b742018984f40cf5?d=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_06/C.png.89f7e4160503aea796032445c29d1368.png", "url": "https://forum.pagelines.com/profile/8837-catrina/" }, "dateCreated": "2012-06-15T16:48:45+0000", "text": "If this is also plugin-related, you may want to get in touch with the plugin creator and inquire about any possible solution for this from the plugin\u0027s end. I can\u0027t provide support for plugin-related issues since I\u0027m not familiar with the plugins. (Just ask \"what\u0027s a possible reason why \u0027MULTIFEED_START\u0027 is added to \n tags on my WordPress site?\"\n", "mainEntityOfPage": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/" }, { "@type": "Comment", "url": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment\u0026comment=115866", "author": { "@type": "Person", "name": "red3media", "image": "https://secure.gravatar.com/avatar/0699512ccfb907720f9725d7a94e728d?d=https://forum-pagelines.netdna-ssl.com/uploads/monthly_2017_06/R.png.3931bc9aa69dde75ace4b655b23128ef.png", "url": "https://forum.pagelines.com/profile/31926-red3media/" }, "dateCreated": "2012-06-15T17:07:07+0000", "text": "Already have.... Thanks", "mainEntityOfPage": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/" }, { "@type": "Comment", "url": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/?do=findComment\u0026comment=115900", "author": { "@type": "Person", "name": "rangelone", "image": "//forum-pagelines.netdna-ssl.com/uploads/profile/photo-thumb-6.jpg", "url": "https://forum.pagelines.com/profile/6-rob/" }, "dateCreated": "2012-06-15T20:45:21+0000", "text": "If you deactivate the plugin, does this issue about the title tag go away?\u0026#13;\n\t\u0026#13;\n\tI suspect that the if statement you want to add should really be part of the plugin, not one of our files. If not in the plugin, likely it should be inside one of the WP files I suspect Catrina was correct in this. The question you ultimately have is with the plugin.\u0026#13;\n\t\u0026#13;\n\tI don\u0027t believe using library.templates.php in or out of the includes folder will resolve this as PageLines doesn\u0027t actually create the title of a post or page. That\u0027s a WordPress function. We merely display it.", "mainEntityOfPage": "https://forum.pagelines.com/topic/19778-child-theme-functionsphp-and-librarytemplatesphp-modifying/" } ] } </script> <script type='application/ld+json'> { "@context": "http://www.schema.org", "@type": "WebSite", "name": "PageLines Support", "url": "https://forum.pagelines.com/", "potentialAction": { "type": "SearchAction", "query-input": "required name=query", "target": "https://forum.pagelines.com/search/?q={query}" }, "inLanguage": [ { "@type": "Language", "name": "English (USA)", "alternateName": "en-US" } ] } </script> <script type='application/ld+json'> { "@context": "http://www.schema.org", "@type": "Organization", "name": "PageLines Support", "url": "https://forum.pagelines.com/", "logo": "//forum-pagelines.netdna-ssl.com/uploads/monthly_2017_01/pagelines-forums-logo.png.830d8bed049181605f7409a81999ec0f.png", "address": { "@type": "PostalAddress", "streetAddress": "", "addressLocality": null, "addressRegion": null, "postalCode": null, "addressCountry": null } } </script> <script type='application/ld+json'> { "@context": "http://schema.org", "@type": "BreadcrumbList", "itemListElement": [ { "@type": "ListItem", "position": 1, "item": { "@id": "https://forum.pagelines.com/forum/94-pagelines/", "name": "PageLines" } }, { "@type": "ListItem", "position": 2, "item": { "@id": "https://forum.pagelines.com/forum/98-dms-legacy-products/", "name": "DMS & Legacy Products" } } ] } </script> <script type='application/ld+json'> { "@context": "http://schema.org", "@type": "ContactPage", "url": "https://forum.pagelines.com/contact/" } </script> <!-- Google Analytics --> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-6282814-6', 'auto'); ga('send', 'pageview'); </script> <!-- End Google Analytics --> <!--ipsQueryLog--> <!--ipsCachingLog--> </body></html>