Tagged: yigit
-
AuthorPosts
-
October 22, 2016 at 5:44 pm #702840
Hi,
I want to customize the text at the bottom of the title.
I want to display only the Author Name and the date of last updated with the text “Last Updated on:” before it.Also If I click inside and go to the post, no author name and date is displayed below the title.
Link to my blog in private section.
I am unable to fix it, after a lot of trying. Please help me out.
Regards
October 23, 2016 at 11:59 am #702975Waiting reply
October 24, 2016 at 12:42 pm #703227Hi,
You can set what information appears below the title in the post itself, just go to Enfold > Blog Layout and under Blog meta elements and check Blog Post Author then uncheck others in that section.
Then go to Appearance > Editor and find these 2 files: loop-index.php and loop-author.php and find this code:
echo '<span class="blog-author minor-meta">'.__('by','avia_framework')." ";
and above it paste this code:
echo '<span class="blog-modified-date">Last Updated on: '.get_the_modified_date("F j, Y").'</span>'; echo '<span class="text-sep text-sep-cat blog-modified-date-text-sep">/</span>';
Thanks for your patience and let us know if it works. :)
Best regards,
NikkoOctober 24, 2016 at 9:02 pm #703430Hi Nikko,
Thank you for your reply. But the query has not be resolved as expected.
1) All the other meta elements are still showing. I want only Author name and Date to be displayed
2) The format I like to have is “by Author | Last Updated Date”
3) I also want the same format to be repeated below the titles of post pages (As of now nothing is showing up there)
4) I am not sure how the check boxes in Blog meta elements from Blog layout work, As it has no effect on my pages.
Thank Please reply at the earliest possible
October 25, 2016 at 2:59 am #703526Hi,
1) The one I gave is the solution go to Enfold > Blog Layout and under Blog meta elements and check Blog Post Author then uncheck others in that section.
2) Kindly remove this code:
echo '<span class="blog-modified-date">Last Updated on: '.get_the_modified_date("F j, Y").'</span>'; echo '<span class="text-sep text-sep-cat blog-modified-date-text-sep">/</span>';
and find this code:
echo '<span class="blog-author minor-meta">'.__('by','avia_framework')." "; echo '<span class="entry-author-link" '.avia_markup_helper(array('context' => 'author_name','echo'=>false)).'>'; echo '<span class="vcard author"><span class="fn">'; the_author_posts_link(); echo '</span></span>'; echo '</span>'; echo '</span>';
and replace it with:
echo '<span class="blog-author minor-meta">'.__('by','avia_framework')." "; echo '<span class="entry-author-link" '.avia_markup_helper(array('context' => 'author_name','echo'=>false)).'>'; echo '<span class="vcard author"><span class="fn">'; the_author_posts_link(); echo '</span></span>'; echo '</span>'; echo '</span>'; echo '<span class="text-sep text-sep-cat blog-modified-date-text-sep">|</span>'; echo '<span class="blog-modified-date minor-meta">Last Updated on: '.get_the_modified_date("F j, Y").'</span>';
3) The 1) solution should also affect this
4) It doesn’t affect pages but it affects posts
I think I will to check your settings to check what is causing the issue. Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to deactivate plugins if necessary.
Best regards,
NikkoOctober 25, 2016 at 10:12 am #703696Login credentials in Private Content.
Regards,
October 27, 2016 at 8:05 am #704701Hi,
Regarding the yoursite.com/category/blog/ link, I have adjusted it by commenting out this part of the code in loop-index.php and loop-author.php:
/*<span class='date-container minor-meta updated'><?php the_time(get_option('date_format')); ?></span> <?php if ( get_comments_number() != "0" || comments_open() ){ echo "<span class='text-sep'>/</span>"; echo "<span class='comment-container minor-meta'>"; comments_popup_link( "0 ".__('Comments','avia_framework'), "1 ".__('Comment' ,'avia_framework'), "% ".__('Comments','avia_framework'),'comments-link', "".__('Comments Disabled','avia_framework')); echo "</span>"; echo "<span class='text-sep text-sep-comment'>/</span>"; } if(!empty($cats)) { echo '<span class="blog-categories minor-meta">'.__('in','avia_framework')." "; echo $cats; echo '</span><span class="text-sep text-sep-cat">/</span>'; }*/
However for the posts, the one i’m referring to that should work in Enfold > Blog Layout isn’t working because you used the avia layout builder which ignores the layout set for posts, I have created a post called Test which is in the draft mode, you can preview it and see that those information should show up, but for your current build in the post which is using avia layout builder, unfortunately we don’t any shortcodes that we can offer at the moment for those information to appear.
Best regards,
NikkoOctober 27, 2016 at 8:45 pm #705015This is so frustrating and unacceptable. You should mention that clearly somewhere there are limitations while using AVIA Layout Builder, so that people are aware of them before that use it.
All my efforts and hardwork of creating all my posts have gone wasted because of this, as this the one of the key factors I would like to display on my posts. Now I have to think of recreating everything from scratch !!
Highly Disappointed !!!
October 27, 2016 at 9:18 pm #705031Hi Nikko,
Can you (or anybody from your team), please come up with a solution to fix this problem of AVIA layout builder, as its very important for us and we wanted this done somehow.
Expecting a positive reply.
Regards
October 29, 2016 at 5:25 pm #705565Hey!
I’m very sorry for that. Try to check this work around for it: https://kriesi.at/support/topic/post-meta-information-not-appearing-on-single-post-in-restaurant-theme-in-enfold/#post-508189
Cheers!
NikkoOctober 31, 2016 at 2:22 pm #706159I Nikko,
1) For the Blogs, Displaying the meta description is working fine, but as mentioned earlier, I want the it to appear in the below format
“By Admin | Last Updated on Date”
Can you please adjust the code accordingly.2) For the displaying the meta information in the post where I have used ALB, your suggestion is working good. As mentioned in the link a new element called Post Meta is added under Content Elements Panel. But I would like to have the format of the meta description of it same as mentioned above
“By Admin | Last Updated on Date”I have added the post meta element in the following post for your reference.
Thank You for the Support.
October 31, 2016 at 2:57 pm #706188Hi manojvinod,
Thanks for your patience. Can you give us ftp access? so it’s less risky and easier for us to adjust the code.
Best regards,
NikkoOctober 31, 2016 at 3:21 pm #706223Hi, Details are as below:
November 1, 2016 at 11:40 pm #706895Hi manojvinod,
The login details doesn’t work when I tried to login.
Best regards,
NikkoNovember 2, 2016 at 8:10 am #706992Please try the below:
- This reply was modified 8 years ago by manojvinod. Reason: Added phone number
November 3, 2016 at 2:09 pm #707722Hi,
It should be good now, I have modified post_meta_infos.php. Let us know if it’s good and change the password when no modification is needed :)
Best regards,
NikkoNovember 5, 2016 at 1:01 am #708481Hi Nikko,
I think you are not getting my point.
I want the meta description on both, my blog and post pages to be in the following format:“By Admin | Last Updated on [Mention date]”
Please do this correctly this time.
Regards,November 6, 2016 at 4:41 pm #708870Hey!
I apologize for that mistake on my part. I have modified it and it should be in the correct format. If it’s all good please change your password :)
Cheers!
NikkoNovember 7, 2016 at 12:51 am #708982Hi Nikko,
Thanks for this, but I think you have accidentally reduced the font size of the meta data and the text of the side bars.
Originally everything have the same font size 17.Also I need one more help, we wanted the header image of homepage to the full width of the screen (the image dimensions are 1600×470), But somehow it is not expanding to the full width of the page.
Best Regards,
VinodNovember 7, 2016 at 5:24 am #709001Hi Vinod!
I don’t think I have reduced the size of the text in sidebars and I could actually confirm it since what was modified was the text and php not css, if you want to make it 17px kindly add this to Quick CSS (located in Enfold > General Styling):
#top .sidebar .news-wrap li { font-size: 17px; }
As for the meta data you can change the font size by adding this code to Quick CSS:
span.post-meta-infos span { font-size: 17px !important; padding-top: 6px; }
The thread is already too long and your other request is off topic to the Title, kindly post it in another thread.
Best regards,
NikkoNovember 7, 2016 at 11:56 am #709124I am not able to start a new thread. I can’t find any option to start a new thread in my screen.
Please Help.
November 7, 2016 at 4:00 pm #709315Hi,
Try to go to this link to create a new thread: https://kriesi.at/support/forum/enfold/#new-post
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.