Forum Replies Created
-
AuthorPosts
-
May 23, 2023 at 5:24 pm in reply to: my custom post type “branches” posts not showing any details of that post #1408310
Hi Nicco,
https://www.maritimetravel.nicomitcms.com/branch-details-new/?bid=10
This page is custom generated, just created a template file copying the full code from template-builder.php file just named template as Branch details, then created a page admin selecting banch details as template then create short codes in functions.php file and put those short codes in alb text block elements.necessary info of the branches we are getting by id we are sending as paameter in the url
if you go through the code you will find what has been done
- This reply was modified 1 year, 7 months ago by NicomIT.
May 23, 2023 at 8:32 am in reply to: my custom post type “branches” posts not showing any details of that post #1408226Hi Nicco,
Thanks for the update, I have worked with shortcodes but the problem is that I can’t make it in with ALB, i have short oces infunctions.php file and put the those in one of the page but I have to use the url like this https://www.maritimetravel.nicomitcms.com/branch-details-new/?bid=10, sending id as parameter to fetch that branch details, this url can’t be used for seo and secondly i can’t show branches details the way I want to show. If you can take some time to find a way to implement what I want that will be grateful.
https://www.maritimetravel.nicomitcms.com/branches/prince-rupert/ —> this is how you have shown details, thank you very much for this.
But i want to show above url details like this https://www.maritimetravel.nicomitcms.com/branch-details-new/?bid=10Please help me to solve my issue.
May 22, 2023 at 3:05 pm in reply to: my custom post type “branches” posts not showing any details of that post #1408148Hi Nikko,
Thanks for help and your effort, but i still have this issue because i want to implement this with the help of Avia layout builder so that look and feel of the site remains same. For this reason i created a page with custom template file and copy the full code of template-builder.php and named it as Branch Details, then created fucntions for each data with the help of add short code function and implemented those short codes in avia layout builder elements. If you click on this link https://www.maritimetravel.nicomitcms.com/our-locations/ and click on any branch title or branch details link you can find that each branch is opening with parameter ( as bid) attached, i m using that id to open each branch and to show its’s details. But this url is not seo friendly and so i want to show each branch details like i m showing right now but with url https://www.maritimetravel.nicomitcms.com/branches/prince-rupert/ like this.
If you help me in this i will very much grateful to you.
May 22, 2023 at 8:06 am in reply to: my custom post type “branches” posts not showing any details of that post #1408110Hi Nikko,
Sorry for the mistake, please follow the below given details
Hi Support,
I am also having the same issue, can anyone help me regarding this.
Hi Ismael,
Thank you for your feedback.
This has solved my problem.- This reply was modified 1 year, 10 months ago by NicomIT.
Hey Ismael,
Thank you for your feedback, but my requirement is little different. I have already created a footer template page with the Avia Layout Builder and set up this page to replace footer from theme options, which is working fine. But now i have created another footer template which i wanted to use for few inner pages, that i cannot set for those inner pages anyhow, so i want to know how can i achieve this. screenshots linked for better understanding.
December 21, 2022 at 4:42 pm in reply to: getting Internal Server Error or sometimes Gateway Timeout Error #1377015Thanks Rikard.
It did end up being something related to the menu in the website. We aren’t sure what the exact issue was, but we removed the code for the menu completely and then replaced it. That fixed things.
December 19, 2022 at 2:35 pm in reply to: getting Internal Server Error or sometimes Gateway Timeout Error #1376711Thanks for the reply Rikard. Do you have any suggestions based on what I mentioned about the website loading without errors once the menu was disabled as the main menu in the theme? As soon as we did that, the site loaded and there were no errors (aside from the menu not displaying correctly with not having one set). See the link in the private content.
Ryan
December 16, 2022 at 2:20 pm in reply to: getting Internal Server Error or sometimes Gateway Timeout Error #1376412We have some more information from our hosting company related to this. It looks like this is theme related. We are using the Enfold Travel demo.
Here is the information from the host (including the URL for the website):
The domain maritimetravel.nicomitcms.com is still producing the following errors.
[Thu Dec 15 16:33:37.507489 2022] [cgi:error] [pid 74060:tid 139968580134656] [client 45.135.16.198:37447] AH01215: PHP Fatal error:
Maximum execution time of 500 seconds exceeded in /home/maritimetrav_staging/maritimetravel.nicomitcms.com/wp-includes/nav-menu-template.php
on line 213: /dh/cgi-system/php74.cgi
[Thu Dec 15 16:33:58.788402 2022] [cgi:error] [pid 74060:tid 139978491913984] [client 24.138.55.98:62683] Script timed out before returning headers: php74.cgi [Thu Dec 15 16:37:26.943486 2022] [cgi:error] [pid 74060:tid 139978491913984] [client 24.138.55.98:62683] AH01215: PHP Fatal error:
Maximum execution time of 500 seconds exceeded in /home/maritimetrav_staging/maritimetravel.nicomitcms.com/wp-includes/nav-menu-template.php
on line 213: /dh/cgi-system/php74.cgiThis is an indication the theme on the domain has hard coded limits within different control php files installed on the domain. This appears to be an issue related to the code and the next course of action should be to reach out to the theme Developers at enfold.
We are having issues with a website that is in development for a client. We can access the WP Dashboard with no issues, but cannot load the website.
This is the error we are seeing now when we try to load the website:
Gateway Timeout
The gateway did not receive a timely response from the upstream server or application.I just disabled the main menu and the website is loading, so it does look like this is something related to the menu and nav-menu-template.php file.
- This reply was modified 2 years ago by NicomIT.
August 17, 2022 at 7:48 pm in reply to: Links on Images & Buttons Changing to set Manually When Translated Using WPML #1361998Hello. I’m running into this issue again when we just translated the same website to Spanish. Unfortunately when I try to edit/save the translation for these pages and fix/update the links, it doesn’t work. Is this a known issue or something that has been resolved in another support topic? Fixing the links individually on the website is going to be very time consuming. So any help with this would be appreciated.
Hi Rikard,
Thanks for the quick reply. It looks like the issue was related to a new plugin that was installed. Disabling that fixed it. We did update Enfold to the latest version while we were at it as well.Ryan
That did the trick. Thanks for the help.
February 3, 2022 at 1:54 pm in reply to: Slow Speed and Status Icon Spinning When Trying to Edit Pages and Posts #1338686Hi Rikard,
Thanks for the reply. I investigated this a bit more and it looked like the temp file at our host was full. Clearing that resolved the issue.Ryan
May 21, 2021 at 6:23 pm in reply to: Custom Grid Border Color Missing After Updating Theme to 4.8.2 #1301699That looks like it did the trick. Thanks Rikard!
May 19, 2021 at 1:39 pm in reply to: Custom Grid Border Color Missing After Updating Theme to 4.8.2 #1301202Thanks Rikard. That added vertical borders between the columns, but not the horizontal border between the top and bottom rows.
May 19, 2021 at 1:35 pm in reply to: Links on Images & Buttons Changing to set Manually When Translated Using WPML #1301201I have an update on this. When I edit the translation for the pages with these links, then save it, the links on the images/buttons automatically update. I didn’t need to manually update each link. So everything is resolved now.
May 17, 2021 at 4:35 pm in reply to: Links on Images & Buttons Changing to set Manually When Translated Using WPML #1300778Hi Rikard,
It happened when the pages were translated. I did find a WPML support post where someone else had this happened:May 14, 2021 at 12:58 pm in reply to: Custom Grid Border Color Missing After Updating Theme to 4.8.2 #1300316Sure thing Rikard.
Btw… this is the same website you replied to my support request related to the WPML issue with links on images and buttons.
May 13, 2021 at 7:41 pm in reply to: Links on Images & Buttons Changing to set Manually When Translated Using WPML #1300191Hi Rikard,
Sorry about that. Can you try the info below?I have been speaking to WPML as well and they were able to show me how to update the links. But it still requires me to manually do it for each link, which is what I was hoping not to do. So I really hope there is a way to update them without doing that and make sure they are updated correctly when we translate the website to the other languages.
Here’s a link to the WPML support post:
https://wpml.org/forums/topic/links-on-images-buttons-changing-to-set-manually-when-translated/
Thanks!
May 11, 2021 at 3:42 pm in reply to: Display of Longer Blog Titles in the Blog Posts Content Element #1299704Thanks Nikko! That did the trick.
May 10, 2021 at 8:12 pm in reply to: Display of Longer Blog Titles in the Blog Posts Content Element #1299486Hi Rikard,
I tried commented that CSS out, but things still displayed the same. So I removed the top margin. That helped a little, but it looks like there is still an issue on the German home page where the post title is more than one line.
RyanMay 10, 2021 at 2:40 pm in reply to: Links on Images & Buttons Changing to set Manually When Translated Using WPML #1299380Hi Rikard,
I updated the theme to the latest version, but that didn’t change anything with the links.
RyanHi Jordan. I’m all good now. Thanks for checking.
Hi Rikard,
Can you confirm where to find the ‘postslider.php’ file in the theme? Below is the accessibility issue that I am trying to address:Avoid placing inactive elements in the focus order
Elements on the page that are not interactive (those that do not trigger an action) such as labels, headings, etc. should not be in the keyboard focus order. Providing focus to non-active elements may give users of assistive technology the impression that the element is interactive and cause keyboard users to have to use extra keystrokes to navigate. In some specific situations (such as dire warnings or disabled controls that require changes for them to become enabled) it may be acceptable and necessary to place a limited number of non-interactive elements in the focus order. Setting focus programmatically to certain content that is not interactive such as error messages may also be acceptable.Hi Rikard,
Thanks for confirming where to find the code. I was able to figure it out by changing maximum-scale=1 to maximum-scale=200%.
RyanIf someone could get back to me about this, it would be great.
Haha, yes you are right. Sorry about that. I saw the previous/next referenced in the code from the accessibility tool and had incorrectly assumed it was the feature for navigating between the posts. I guess that would explain why I couldn’t find that code in the ‘functions-enfold.php’ file. Thanks for pointing me in the right direction.
Thanks for the info/clarification. I tried adding the code you provided to the child functions.php, but the accessibility tool I am using to test the website is still picking up on the elements. Below is what I am looking to remove:
<a data-av_iconfont="entypo-fontello" data-av_icon="" aria-hidden="true" class="prev-slide" href="#prev">Previous</a> <a data-av_iconfont="entypo-fontello" data-av_icon="" aria-hidden="true" class="next-slide" href="#next">Next</a>
Thanks. I actually need to remove it completely from the code in order to meet accessibility requirements:
Avoid placing inactive elements in the focus order
Providing focus to non-active elements may give users of assistive technology the impression that the element is interactive and cause keyboard users to have to use extra keystrokes to navigate.Since they are not being used in the website, I need to remove them completely in order to address that. Which is why I’m trying to find the file they are in.
-
AuthorPosts