Forum Replies Created
-
AuthorPosts
-
May 27, 2021 at 12:50 am in reply to: How can i remove specific [div class] from a Pagination pages ? #1302474
Yes, i am using the <class=’page-summary’/> as the custom tag inside the pages.
Your code work but it remove the class from every page, while i want to apply certain condition that the code should only remove the <class=’page-summary’/> from /page/2/ pagination and so on. Like i have given example above.I hope you will help me there. Thanks bundles
May 24, 2021 at 11:08 am in reply to: How to Display First Word as Post Title only on Homepage in Enfold #1301957You are great Nikko! You always helped & resolve my issue, the post titles are now displaying first word on frontpage. Thanks bundles.
Outstanding Support
May 22, 2021 at 11:29 am in reply to: How to Display First Word as Post Title only on Homepage in Enfold #1301744Hi, Ismael
I have tried the code but it break the overall site, i have used the below code but it disturb the top menu title and display the menu first word, while i want to display the first word of post title on frontpage.
add_filter( 'the_title', 'wpse_75691_trim_words' ); function wpse_75691_trim_words( $title) { // Limit the title to exactly one word only on the frontpage. if (is_front_page()) { return wp_trim_words( $title, 1, '' ); } // Otherwise return the full title. return $title; }
I have tested the code on other themes it work fine but not working with enfold,
I want like this see screenshot: https://prnt.sc/139b24aI am providing the site link and password with login in private, Kindly check and resolve the issue for me, Thanks
Please help me: @Rikard, @Ismael @Nikko
- This reply was modified 3 years, 6 months ago by hamzakhankhan.
May 1, 2021 at 11:56 pm in reply to: How to Display First Word as Post Title only on Homepage in Enfold #1297749@Rikard Hello
I have used the condition is_front_page/ and it worked but it effected the Menu Title & Blog Main Title while i want to apply it to the posts title on my website frontpage. It still not applied to the posts title.
add_filter( 'the_title', 'wpse_75691_trim_words' ); function wpse_75691_trim_words( $title ) { // Limit the title to exactly one word only on the frontpage. if (is_front_page()) { return wp_trim_words( $title, 1, '' ); } // Otherwise return the full title. return $title; }
My Posts Title on frontpage Looked like this you can see it in inspect element;
screenshot: https://prnt.sc/12dd3tqHint: As you see in the screenshot the post title are using h3 tag, So if you could add h3 title function something to my existing coding then it will be applied only to the h3 title of my posts title and will not effect any other title tags on my website.
Thanks and hope to see you with coding!
Thanks its been resolved now!
hi, Niko
I have use my code in this way, and its working for me,
/* Close the breadcrumb trail containers. */ $breadcrumb .= '</div></div> <div class="ad" style="text-align: center;"><!-- CopyBloggerThemes_S2S_Leaderboard_ROS_Pos2 --><div id="bsa-zone_1611333824377"></div></div>';
However, i need to remove the div class on homepage, i have set frontpage, I want the div class “ad” should be appear everywhere except homepage of the site.
Please add condition to my code, so that the div >> ( <div class=”ad” style=”text-align: center;”><!– CopyBloggerThemes_S2S_Leaderboard_ROS_Pos2 –><div id=”bsa-zone_1611333824377″></div></div>’; ) should display everywhere on the blog except homepage.
to give you an idea, do something like this:
/* Close the breadcrumb trail containers. */ $breadcrumb .= '</div></div> echo if (!=homepage) display this div <div class="ad" style="text-align: center;"><!-- CopyBloggerThemes_S2S_Leaderboard_ROS_Pos2 --><div id="bsa-zone_1611333824377"></div></div>';
I hope you understand, thanks
- This reply was modified 3 years, 9 months ago by hamzakhankhan.
@Niko
Could you kindly share the code, how to paste it there, should i directly put the <div>adsense code</div> or put above whole code, just shared the code with line number to past it directly. Thanks
January 19, 2021 at 5:27 am in reply to: How to edit "Share This Entry" to "Share This Template" ? #1273556As i told above, i want to edit the exact file where the text “Share this Entry” exists. I don’t want to add additional coding in function.php file instead i will simply rename the text “Share this Entry” to “Share This Template”
Please, tell me which php has this text command so i just edit that file.. i hope you got my point.
Thanks It Worked for me
I don’t want to use child theme due to some reason, kindly give me piece of code to directly put in the function.php or give me any modification to do in the footer.php
Its quite difficult for us to use the child theme, instead give me the direction solution
January 30, 2020 at 10:42 pm in reply to: Data-vocabulary.org schema deprecated [ Solution ] Enfold #1180094I am running enfold 4.6 version currently on my site: here it is: https://copybloggerthemes.com
Looking for your reply
March 9, 2018 at 9:10 pm in reply to: How to Add <center> tag in Blog/page navigation Shortcut Codes #924731Hi, Rikard,
i am myself i a CSS expert,
Here is not debate about CSS its all about, how to add any html element inside shortcut-codes ?
actually i want to add <p> or <center> or <div> inside-shortcut codes..
Rikard,
One of the site has did it, he has not added the markup before or after the shortcut-codes but he uses it inside shortcut codes..
here is the screenshots: http://prntscr.com/ip0psw
site url: https://gooyaabitemplates.com/blogger-templates/responsive/If you check the above link, he uses <center> tag somewhere in the below shortcut-codes
[av_blog blog_type='taxonomy' link='post_tag,4' blog_style='blog-grid' columns='3' contents='title' content_length='content' preview_mode='custom' image_size='medium' items='12' offset='0' paginate='yes' conditional='']
So that why, i thought how he did this ? i am trying also to add either <center> tag or <p> tag inside shortcut-codes
like:
[av_blog blog_type='taxonomy' link='post_tag,4' blog_style='blog-grid' columns='3' contents='title' content_length='content' preview_mode='custom' image_size='medium' items='12' offset='0' <p>text</p> paginate='yes' conditional='']
but it does not work, actually i want to add <p> or <center> or <div> to appear before pagination..
thanks.
March 8, 2018 at 9:45 pm in reply to: How to Add <center> tag in Blog/page navigation Shortcut Codes #924111how the <center> tag used by that another site ? i provided in above, and that site is also using the same enfold theme..
screenshot: https://prnt.sc/iky6sx
February 28, 2018 at 5:12 pm in reply to: How to Add <center> tag in Blog/page navigation Shortcut Codes #919176I will apply center tag here on this page:
The center tag should above the pagination.
like this site has did it:
also see screenshot of center tag of this site: http://prntscr.com/iky6sx
- This reply was modified 6 years, 8 months ago by hamzakhankhan.
Thanks Rikard, it worked the same as i wanted..
Thanks again
Hi, Team
I have resolved the issue by myself,
I did one mistake thats why it was getting issue of unsecured fonts links. I added some http instead of https in sidebar widgets for fonts and social sharing buttons.
I replaced that with https and now its all ok.
Thanks, marked it as answered.
April 19, 2016 at 8:56 am in reply to: When i Assign Child Category to Post It showing then Breadcrumb in Search Engine #617222Hi, Ismael,
There is must option in the Enfold theme, because same child category i uses on my other site. where i activated “MEGATRON wordpress theme” i used the same, breadcrumb navigation, child category and the posts are showing url in serp.
my that site is here: templatelib[dot].com
Megatron uses the same funcationality like frontpage etc etc like enfold.
So, why that theme show url not breadrumb in SERP even i uses child-category and navigation wrapper of breadcrumb.
April 17, 2016 at 9:29 pm in reply to: What does it Mean this in Enfold ? What does this option do ? #615908Thanks i got your point,
February 12, 2016 at 12:26 am in reply to: How to Replace the "Blog-Latest News" with my frontpage title on post pages. #581942hi, @buscofen89
You can easily replace this “Blog-Latest News” with your own text by simple goes to here:
go to appearance editor and edit >> single.php (single post)
screenshot: http://prntscr.com/a22on1
press Ctr+f and look for “Blog-Latest News” and replace with your owns texts.
thats is Done:
February 2, 2016 at 9:45 pm in reply to: Problem Resolved: of Pagination with WordPress latest update 4.4.2 #576719version 4.4.3 is not available
check here: http://prntscr.com/9y76m2
February 2, 2016 at 9:18 pm in reply to: Enfold BAD error happened again ? Pagination not working with Latest Theme 3.4.7 #576700Oh, the problem resolved it self, when i update my site to 4.4.2 wp version.
Its look like wordpress updates resolved my problem,..thanks to wordpress team.
February 2, 2016 at 9:17 pm in reply to: Problem Resolved: of Pagination with WordPress latest update 4.4.2 #576698Oh, the problem resolved it self, when i update my site to 4.4.2 wp version.
Its look like wordpress updates resolved my problem,..thanks to wordpress team.
February 1, 2016 at 11:40 am in reply to: Enfold BAD error happened again ? Pagination not working with Latest Theme 3.4.7 #575681Hi, Rkard,
i have this issue on both sites..so lets look the issue here on this site:
themezy.tk
login detail check in private section:
January 30, 2016 at 10:26 pm in reply to: Enfold BAD error happened again ? Pagination not working with Latest Theme 3.4.7 #575103Hi, Elliott.
i tried but still getting error.
The pagination work on default blog, but when i set frontpage then it does not work..for a frontpage i use grid layout…
so you can get idea, when it work on default blog when there is not activation of frontpage but when i active my frontpage it does not work.
why it is not replacing, this is impossible in any wordpress theme…?
Ok lets come to the point, i am making this changes….in file functions-set-avia-frontend.php
but it should be done in child theme
if(is_child_theme()) { $child = "- - - - - - - - - - -\n"; $child .= "ChildTheme: ".$theme->get('Name')."\n"; $child .= "ChildTheme Version: ".$theme->get('Version')."\n"; $child .= "ChildTheme Installed: ".$theme->get('Template')."\n\n"; $theme = wp_get_theme( $theme->get('Template') ); }
to this form
if(is_child_theme()) { //$child = "- - - - - - - - - - -\n"; //$child .= "ChildTheme: ".$theme->get('Name')."\n"; //$child .= "ChildTheme Version: ".$theme->get('Version')."\n"; //$child .= "ChildTheme Installed: ".$theme->get('Template')."\n\n"; $theme = wp_get_theme( $theme->get('Template') ); }
Meas i want to remove that 4 lines, i make those lines as comments..i dont want it to display in source file.
so how to do that in child theme, how can i add the customize file or any other way to do in child theme.
Listen directly my problem, what i am facing the issue with enfold child theme.
I add this file:> functions-set-avia-frontend.php in child theme, but it does not overwrite the parent theme file…means even adding it in child theme, the parent theme file work, not my customize ones which i add i child theme.
I also tried to add with the exact path in child theme, but still not working: like this: Enfold/framework/php/functions-set-avia-frontend.php
So, why it does not work. my site is: themezy.tk
Hi, Vinay
Its not working when only i add the file.php in child theme but nothing worked.
Real Example:
Enfold/framework/php/functions-set-avia-frontend.php
from above you see the funtions-set-avia-frontend.php which is nested in enfold/froamworkd/php folders right ?
now i customized only the unctions-set-avia-frontend.php and past it in child theme, but it does not work.
so, can i have to add the same folders too ?
like this: Enfold/framework/php/functions-set-avia-frontend.php
only the file i included does not work.
Hi, Rikard
For example i want to customize iconbox.php file which locate in parent theme in this was: Enfold/config-templatebuilder/avia-shortcodes/iconbox.php file
Now, if i want to add iconbox.php in child-theme to override the parent iconbox.php… then should i add only iconbox.php file in child-theme
or
with all nested folders like this way: Enfold/config-templatebuilder/avia-shortcodes/iconbox.phpplease let me know must this.
- This reply was modified 8 years, 10 months ago by hamzakhankhan.
Thanks bundles Yigit it worked for me, now the post should be closed.
-
AuthorPosts