-
AuthorPosts
-
March 31, 2018 at 4:23 pm #935573April 1, 2018 at 3:09 am #935675
Hey friefodspor,
1: The easiest way would be to add your text as a widget, but I imagine that you will want to have different blocks of text depending on the page and the other items in the sidebar. So the solution is to use the plugin: Widget Logic which will allow you to decide which ones will show for each category or page.2: Try this code in the Enfold > General Styling > Quick CSS field:
.html_elegant-blog .avia-content-slider .slide-meta { display: none!important; }
3: To edit the functions.php go to WordPress > Appearance > Editor > functions.php
Best regards,
MikeApril 3, 2018 at 8:37 pm #936776Thank you so much.
1. I have installed the Widget Logic plugin now. What to do after that?
2. Works perfectly!
3. My menu does not look like that. First step is ok: In Danish it says Udseende (=appearance). Option number two is ‘Tilpas’ (something like Edit maybe), but then after that I have a different menu with website identity, menus, widgets and so on? I Where to find the php-file then?April 4, 2018 at 2:10 am #936879Hi,
1: now that you have the Widget Logic plugin installed, please create one of your text widgets at the top, such as, ‘More about Italy’ then in the “logic” box we will need to add the code for where it will show. Such as in all of the posts in the category “Italien” which I believe on your site has the category slug “category-italien”.is_single() && in_category('category-italien')
You can see what your category slugs are by going the WordPress > Dashboard > Categories and see your list of categories.
After you get this one working you will be able to add as many more as you like for all of your categories.3: Can you please include a admin login in the private content area so we can take a closer look.
Best regards,
MikeApril 5, 2018 at 10:58 am #9375911. I will start trying this now.
3. Se in the private section for my login.April 5, 2018 at 11:13 am #9376051. Sorry, but I have no idea how to work in that Widget logic. I can find it in Widgets. I that where to work in it? Becuase on the blog posts I find no field in which to work with widget logic? The options I have under widgets are:
Add ‘widget_content’ filter
Use ‘wp_reset_query’ fix
Load logic
Display logic errors to adminApril 5, 2018 at 12:30 pm #937673Hi,
Thanks for the login, I have taken a closer look and found that your “sidebar” is a 1/3 column in your page, which is good, but each page will have to be edited to add the widget, for the first time. But afterward you will only need to edit one place to change all of the widgets. I have done one for you to show you, this is what I did:
First I added a text widget to your “sidebar blog” area, using only the title and adding this code in the Widget logic area to make it show on every single post in the “italien” category:is_single() && in_category('italien')
Then I went to one post, and added the “widget” element to your 1/3 column, selecting the “sidebar blog” as the one to show:
Now it will show on your post, and once you add this same widget area to the other 9 posts in the category, you will be able to edit the one widget to change the text on all of the posts at once.
You can then follow these steps, to add other widgets, for the rest of your categories and posts.Best regards,
MikeApril 5, 2018 at 9:27 pm #937906Hi Mike. Exactly what I wanted, thanks… Now I succeeded in changing the text in the existing widget to Danish. When I go to another blog post about Italy, I know I have to add this widget area. But how do I do that? I don’t see the area that is in your screendumps? I suppose I have to add in manually the first time, but I don’t get how?
April 5, 2018 at 9:38 pm #937909I am really into problems… I also tried creating an extra widget with another text, an I don’t know how to do that either. Is it correct, that I should go to the Appearance – widgets from the left menu? The only place there I can add someting is in the ‘Enfold Custom Widget Area’. But when I don that, it stille does not look like a Widget Logic-thing? I am a total new beginner, sorry for keep asking.
April 6, 2018 at 3:38 am #937985Hi,
Ok, to create a new “widget logic” in a post, first go yo your post in the editor, and drag the “widget area” element in to your page.
Then choose the widget area you want to use:
These are the steps you will only need to do once, per post.Then in the WordPress > Appearance > Widgets you can create your widget in the widget area, and add the rules the “widget logic” field.
I hope this helps :)Best regards,
MikeApril 6, 2018 at 9:38 pm #9383911. OMG, I think it got some of the way now, Mike…. I must be your slowest pupil. The problem was I had not seen the ‘Content element’ area from where it is possible to drag different things… Well. Status now: I know how to add a widget area to each blog posts sidebar. What I don’t understand is that even when I add the widget area til Italy blog posts, the text does not show. Why is this?
3. This problem is still not solves because my interface is completely different whem I try to navigate the way you write that I shall. Now I have made screendumps so that you can see what see… https://www.dropbox.com/s/vgpi4eggxc8c2e3/Finding%20php-file.docx?dl=0April 7, 2018 at 2:17 am #938465Hi,
Well done, I see you have added the “Widget logic” to all of the “Italien” posts, and they are showing in all of my checks.
Perhaps if you don’t see it right away, try re-loading your page, or clearing your cache.
But I think you are feeling not sure, so I will make a video. Please see video in Private Content area.
In the video I create a new widget for the Danmark category, since you have already added the “Widget logic” to the post, I don’t need to add it, but I show the post anyways to show the steps.Best regards,
MikeApril 7, 2018 at 8:13 pm #938655You/I succeeded now! The widgets are working everywhere.
About styling of this widget area: Is it possible to:
1. Style the text in the green I am using (#74b86b)
2. Center the text like the blog posts underneath are centered
3. Make the text top align with the body text to the left
4. Make the distance between the text and the first post smaller than the distance from the top of the text to the line above?Thanks Marie
April 7, 2018 at 8:33 pm #938656Hi,
Try this code in the General Styling > Quick CSS field:.flex_column.av_one_third .widget_text h3.widgettitle { color: #74b86b !important; margin: 0px !important; text-align: center!important; } .flex_column.av_one_third .widget_text { padding-bottom: 0px !important; }
Best regards,
MikeApril 7, 2018 at 8:50 pm #938662All perfect!! Over and out on this issue. Thanks again, we made it!!
April 8, 2018 at 1:01 am #938685Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
and the video tutorials here
And if there are features that you wish Enfold had, you can request them and vote the requested ones here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Sidebar: Text, remove frames from date and comments and remove current post’ is closed to new replies.