Forum Replies Created
-
AuthorPosts
-
Hi,
Thanks for your answer. I have been looking at Beaver Bulider lately, and this is possible with functions here. Wouldn’t it be possible to do the same in Enfold?
https://kb.wpbeaverbuilder.com/article/662-add-custom-attributes-to-rows-columns-or-modules
Best regards,
Roger HenriksenDecember 11, 2017 at 3:59 pm in reply to: The Events Calendar: Overriding views and styles in Enfold Child Theme #887474Hi @Victoria and @fjaellbaeck
Thanks for helping me out. I have checked all these links. One of them leads to the one that breaks the design. I have already tried this, and that’s no option I’m afraid. I will try to seek a good solution, but I’m starting to prepare that there’s no solution. At least not in this low budget website I am working on here. I’ll try to convince my customer to keep most of the original template and don’t move any parts around – and then avoid this problem.
Seems like Enfold has created a problem for themselves here and made modifications to Event Calendar templates very difficult. Just for testing I switched to TwentySomething and all changes were visible.
Thanks for your answers!
Best regards,
Roger- This reply was modified 6 years, 11 months ago by lipstick.
December 8, 2017 at 9:24 pm in reply to: The Events Calendar: Overriding views and styles in Enfold Child Theme #886623Hi,
Thanks, but I have tried that.
Best regards,
RogerDecember 7, 2017 at 10:35 pm in reply to: The Events Calendar: Overriding views and styles in Enfold Child Theme #886236Hi,
I’m looking for a solution for a similar problem. I want edit the single-event.php for Event Calendar. It’s originally located in the folder:
/wp-content/themes/enfold/config-events-calendar/views/single-event.php
Changes to this file is reflected in my event.I guess I can’t modify the file in the original path without loosing changes when I update. So I would like to move it the child theme. Is it correct to move it to:
/wp-content/themes/enfold-child/config-events-calendar/views/single-event.phpChanges here are not visible. What have I done wrong? I use the same structure, and also tried with copying all the files in config-events-calendar folder.
December 5, 2017 at 1:49 pm in reply to: Which function is responsible to display the_content(). #885046@Legendaryz: Did you solve this? It seems that there are no function to this in Enfold and no way to get Toolset to work. Am I right?
Regards,
RogerThanks Basilis,
The English categories are now visible again. I’m not sure what you did to fix this? Can you explain?Best regards,
RogerHi,
Yes, I’ve not been working this Easter. I have updated the theme regularly and again this time. But this does not affect this problem. If you click Butikker backend and publish a post again a duplicate of this post without image will be visible in category view.
Best regards,
RogerHi,
Sorry about that. I was working on the website myself yesterday and changed the password. Now it’s back to the details you have.
Best regards,
Roger
Hi again,
It has been some years, but now my client wants to update the site themselves (finally). That means that they want a better solution to this problem. They feel that it shouldn’t be necessary to use Better Delete Revision for each update.
Do anyone know how I can fix this? I have deleted all plugins that isn’t very important, but still… Is it possible to get some to take a look at the site?
Best regards,
RogerHi,
I’m also interested in this topic. I use the new tab section on a website I’m working on and have the same problem.
The tab section is a great function, but the height of each tab should be set individually – or at least it should be an option.Thanks,
RogerMay 13, 2016 at 4:48 pm in reply to: Custom Google Maps settings and Child Theme – Possible? #632151Hi Jens,
I’m not sure if you figured it out, but I also need to style my map and want to use enfold-child/functions.php. Can you post your solution here if you solved it?Thanks!
Regards,
RogerHi,
No problem! One more question:
How does Enfold take into account that there might be autosaves and somehow exclude these from the list?https://codex.wordpress.org/Function_Reference/wp_is_post_autosave
Best regards,
RogerHi,
It seems that I might have a solution to this! I see that there are several others who has the same problem. Once again I have ran into this problem on one of my sites. This time I have a site with a custom post type (using Types) that displays duplicate posts of autosave and revisions. There are only one post in backend, but it displays several duplicates.SOLUTION: I tried the plugin Better Delete Revision to delete all revisions from database. It worked. Both autosave and revisions are removed from the blog. PS: I updated both WP and plugins before using Better Delete Revisions. There might be other plugins available that are better than BDR (plugin not being updated for 1 year). Let me know what’s your favourite! Any recommendations?
I hope this can be useful!
All the best,
Roger- This reply was modified 8 years, 7 months ago by lipstick.
Hi,
Thanks for your answer. I have tried this, but it doesn’t solve my problem. If test the code and I use:
$eventdate = get_the_title($entry->ID); $output .= "<footer class='entry-footer'>" . $eventdate . "</footer>";
This displays the title right. But when I try to use the types php code nothing shows.
$eventdate = types_render_field("event-date", array("style" => "text"));
This means that there’s a problem getting the custom field with php I think. I have also tried to insert the custom field value with Types shortcode into a post and this works fine – which rules out that there’s something wrong with the custom field setup.
I have sent a support ticket to Types developers, but if you have a suggestion to how to solve this I would appreciate it!
Thanks!
This reply has been marked as private.This reply has been marked as private.I’m working on this now. I will let you know.
Roger
Hi,
It only works for subpages, not for posts. I’ve tested both regular posts and my custom post types.Regards,
RogerHi,
Sorry, I’m working locally now so I don’t have an available site at the moment.
I have created 4 new custom post types. For example a custom post type specified in body called single-aktivitet and also made a class in the menu item i want to highlight called menu-item-detteskjer.
I use the .avia-menu-fx class to make the line stay visible for posts with single-aktivitet class. In addition use the text in .avia-menu-text to stay #333. I have found a solution for this by using two CSS rule. I also need to include subpages for some of the menu-items, like .parent-pageid-39 etc.
Here’s the CSS:
/* Nyheter */.single-post .menu-item-nyheter .avia-menu-fx, /* Handel og service */.single-butikk .menu-item-handelogservice .avia-menu-fx, .parent-pageid-39 .menu-item-handelogservice .avia-menu-fx, /* Bo på Løren */.parent-pageid-41 .menu-item-bopaloren .avia-menu-fx, .parent-pageid-183 .menu-item-bopaloren .avia-menu-fx, /* Boligprosjekter */.single-boligprosjekt .menu-item-nye-boligprosjekter .avia-menu-fx, /* Dette skjer */.single-aktivitet .menu-item-detteskjer .avia-menu-fx { visibility:visible; opacity:1; } /* Nyheter */.single-post .menu-item-nyheter .avia-menu-text, /* Handel og service */.single-butikk .menu-item-handelogservice .avia-menu-text, .parent-pageid-39 .menu-item-handelogservice .avia-menu-text, /* Bo på Løren */.parent-pageid-41 .menu-item-bopaloren .avia-menu-text, .parent-pageid-183 .menu-item-bopaloren .avia-menu-text, /* Boligprosjekter */.single-boligprosjekt .menu-item-nye-boligprosjekter .avia-menu-text, /* Dette skjer */.single-aktivitet .menu-item-detteskjer .avia-menu-text { color:#222; }
This works fine. But by using this method I don’t give any flexibility adding a new menu item. I will then need to code both fx and text when adding a new menu item. Is it possible to do this with a function or something else without hard coding every time the client adds a menu item?
- This reply was modified 9 years, 9 months ago by lipstick.
This reply has been marked as private.Hi,
I just found out that Magazine module works. I also forgot to mention that I can load the individual custom post with direct URL. It’s only not visible with post slider, blog posts and the masonry module. One of my custom post type catogory list all items fine. Not the other. I have doublechecked that they have exact the same setup.
Roger
Thanks!
Hi,
Thanks for your answer. I have already read this thread. But unfortunately it didn’t help me.Roger
Hi,
No, but now I have tried that. I have located the problem. It’s related to the Role Scoper plugin for handling user roles. If I deactivate this the loading works.
I’m now checking the different options to see if I can run Role Scoper without any problems.
Thanks for your tip!
Regards,
RogerThanks! It works fine!
-
AuthorPosts