Forum Replies Created
-
AuthorPosts
-
Ok yes we do block some countries due to high spam traffic that’s puts loads in our server. Hoping someone who can access can help?
Where are you located?
Here you go
It looks like this function will cause a PHP error
PHP Warning: Use of undefined constant my_frontend_search_form_param – assumed ‘my_frontend_search_form_param’ (this will throw an Error in a future version of PHP)
Anyone else get this?
So I found out what the issue was. The color section above my sticky menu is set to take up 25% of the browser height. If i remove that and just have it take up the normal space this work in IE11. If I toggle back over to the % and of them 25% 50%… it breaks the sticky and image in that section.
HI, Thanks for the info.
So I disabled all the plugins and removed all my functions but i’m still getting the same thing. I do see the enfold demo is working in IE11 but no go on my site?
Any more advice? From looking at it more it does not seem to be taking the position:fixed when you get to that part of the page like it does in all other browsers.
Thanks
-DanJune 4, 2019 at 10:24 pm in reply to: Equal height cols within a CPT not behaving like normal. #1107271This did the trick. Thank you!
/* ————————————————————————–
Fixes CPT Color Section / Equal Height Breaking
————————————————————————– */
function avf_alb_supported_post_types_mod( array $supported_post_types )
{
$supported_post_types[] = ‘CPT NAME’;
$supported_post_types[] = ‘CPT NAME’;
return $supported_post_types;
}
add_filter(‘avf_alb_supported_post_types’, ‘avf_alb_supported_post_types_mod’, 10, 1);I was able to find it in the DB, for some reason it was injecting it there. I did at one point have a ACF set up with the name of “Phone” and use that but i have removed it.
Not sure what the exact issue was but its fixed now.
Thanks for the help.
-Dan
November 26, 2018 at 6:49 pm in reply to: Portfolio Masonry Element Deep Linking to Category #1037709Hi,
So im not trying to open the post im trying to open the gallery page that is open to a category for the portfolio.
I want to be able to land on this page.
But with the category for the filter already selected. So it would open up on the Armourcoat Category selected in the masonry filter.
Yea, thats part of the problem. The phone number should not be showing at all. If you look in my setting and look at the place within the setting where you add the text or phone number there you will see i have a google translate short-code. It works on all pages except for the page im using a custom template on.
I want the language selector to work on all pages and the phone number to go away.
Thanks
-DanNovember 20, 2018 at 5:50 am in reply to: Portfolio Masonry Element Deep Linking to Category #1035424Login info below
November 15, 2018 at 5:02 pm in reply to: Enfold Custom Post Type and Masonry/blog elements #1034037Nikko,
Sorry this is opened up now.
Thanks
November 12, 2018 at 7:51 pm in reply to: Enfold Custom Post Type and Masonry/blog elements #1032717Also, I just noticed that on this page. Im trying to a custom ID to my masonry element in the backend build and its not taking. When you login you will see that I have a ID of #events-block and its not taking in the front end.
November 12, 2018 at 7:42 pm in reply to: Breadcrumbs not showing all grandparent/parent/child #1032712Please close it.
thanks
November 12, 2018 at 5:24 pm in reply to: Breadcrumbs not showing all grandparent/parent/child #1032667ahh i see. Got it. Thanks!
November 9, 2018 at 6:39 pm in reply to: Breadcrumbs not showing all grandparent/parent/child #1031757Hi, This is great and a set in the right direction. I this there are still some issues. I was able to fix one. but think i will need your help with the second. Here is my modified code.
All I did was remove the part that made this only for the Solutions post type. I want it this way for every page.
add_filter( 'avia_breadcrumbs_trail', 'avia_breadcrumbs_trail_mod_division', 5, 1 ); function avia_breadcrumbs_trail_mod_division( $trail ) { if( is_single() ) { global $post; $parentID = wp_get_post_parent_id( $post->ID ); if( $parentID == 0 ) return $trail; $parent = get_post( $parentID ); if( ! empty( $parent ) ) { $home = $trail[0]; $last = array_pop($trail); $link = '<a href="'.get_the_permalink($parent->ID).'">'.$parent->post_title.'</a>'; $link = preg_replace('!rel=".+?"|rel=\'.+?\'|!',"", $link); $link = str_replace('<a ', '<a rel="v:url" property="v:title" ', $link); $link = '<span typeof="v:Breadcrumb">'.$link.'</span>'; $trail = array(0 => $home, 1 => $trail[1], 2 => $link, 'trail_end' => $last); } $grandparentID = wp_get_post_parent_id( $parent->ID) ; if( $grandparentID == 0 ) return $trail; $grandparent = get_post( $grandparentID ); if( ! empty( $grandparent ) ) { $home = $trail[0]; $last = array_pop($trail); $link = '<a href="'.get_the_permalink($grandparent->ID).'">'.$grandparent->post_title.'</a>'; $link = preg_replace('!rel=".+?"|rel=\'.+?\'|!',"", $link); $link = str_replace('<a ', '<a rel="v:url" property="v:title" ', $link); $link = '<span typeof="v:Breadcrumb">'.$link.'</span>'; $trail = array( 0 => $home, 1 => $link, 2 => $trail[1], 3 => $trail[2], 'trail_end' => $last ); } } return $trail; }
Where im still having issues is check out this page.
You can see the slug is
/solutions/water-environmental-resources/services/hydroinformatics/But the bread crumbs are
Home /Water & Environmental Resources /Solutions /Services /HydroInformaticsIt should be
Home /Solutions/ Water & Environmental Resources /Services /HydroInformaticsThanks
-DanBecause I know you will ask for it.
November 6, 2018 at 8:55 pm in reply to: Breadcrumbs not showing all grandparent/parent/child #1030584Here you go
Eric,
Sorry, this was a long time ago and the site had been redesigned and the site I created is gone now. I have no way to go back and look what I did.
- This reply was modified 6 years, 1 month ago by acscreativenew.
So I did this but still a no go it seems like.
This is what I currently have in my child theme. (link below)
When I put any extra code on any of those pages it does not show up. If i add the same code to the files within the parent enfold page it does show up. So it seems my child theme overrides are still not taking.I got this figured out. It was some code i used in the functions file to remove query strings that was causing the issue.
Thanks for the help.
Hi,
Trying to do a couple things. I would just like to get access to add ACF to the page. I would like the single page that you guys have created but just want to add my own code to it. When I first started messing with this I was just trying to override your single-events page template that comes with enfold. If i could get that page working but add my own code within that page thats what I would be looking for.
I dont really have anything to show for it. I was just want your template to load but the ability to add my own code and queries within it.
Hope this helps. In short just looking for a basic template override using most of the same code that is already on the template that comes with enfold.
Thanks
-DanHi,
So that worked but now all my styles are gone?
- This reply was modified 6 years, 2 months ago by acscreativenew. Reason: Add Image Link
Hi,
So I found out what it was. I did everything you said and it still was not working. I started to look in my fucntions file to see if anything in there might cause a conflict. I was correct. I use a function, I think i might have gotten it from a support form here to remove the query strings from the files loaded. This helps with load times and performance in most cases. Here is the code i was using.
// Remove Query Strings function _remove_script_version( $src ){ $parts = explode( '?', $src ); return $parts[0]; } add_filter( 'script_loader_src', '_remove_script_version', 15, 1 ); add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );
Could you suggest another function to remove them that wont conflict with your theme?
Thanks
-DanAny update on this?
Thanks
-DanOK, I tested that and its not pulling the right address, as you can see on the page you created i update the lat and long to point to
33 Industrial Park Drive
Waldorf, MD 20602https://www.latlong.net/convert-address-to-lat-long.html
The map is showing up in Antarctica.
Hi,
So I was just plying with this again. I wanted to let you know that I removed the API i was working with and created a brand new one that is linked to billing, This is still not working. I even went as far as to take a API from another account/site that is working within enfold and put it in this site. I still get the same errors.
So where do i go from here? I have the API set up in google correct as far as I know? I have all the correct APIs turned on and my account liked to a billing account. I do not have any restrictions on it just to make things a little easier for one less thing to worry about.
After you login if you go to the URL bar just type in wp-admin to get to the WP dashboard.
no, the map is not working. It will not fetch the coordinance. It gives me an error within enfold. Everything should be set up correctly on my Google Side. I have the three main APIs turned on and its linked to billing. Just cant seem to get it to work within Enfold. If in enter the long and lat manually it seems to display the map with no errors but it does not have the correct location.
- This reply was modified 6 years, 3 months ago by acscreativenew.
-
AuthorPosts