Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #935573

    Hi Kriesi

    Three problems with my sidebar:

    1. I would like to have a short text at the top of the sidebar to explain which blogs are featured underneath – like ‘More about Italy’. Right now the is a spacer (see link private below). How do I get text there in stead?

    2. I have removed the date and number of comments from the blog posts in the sidebar with css. But the frames remain in the sidebar and in the category page as well. How do I remove them?

    3. I want to remove the current post (the one that the user is reading) from the sidebar. I have found this thread:
    https://kriesi.at/support/topic/exclude-current-post-from-recent-posts-in-sidebar/
    But where is the functions php-file? I am a new beginner…:

    Hope you can help?

    Marie

    #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
    2018-03-31_204843
    2018-03-31_205025

    Best regards,
    Mike

    #936776

    Thank 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?

    #936879

    Hi,
    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,
    Mike

    #937591

    1. I will start trying this now.
    3. Se in the private section for my login.

    #937605

    1. 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 admin

    #937673

    Hi,
    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')

    2018-04-05_061738
    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:
    2018-04-05_062122
    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.
    2018-04-05_062630
    You can then follow these steps, to add other widgets, for the rest of your categories and posts.

    Best regards,
    Mike

    #937906

    Hi 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?

    #937909

    I 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.

    #937985

    Hi,
    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.
    2018-04-05_212253
    Then choose the widget area you want to use:
    2018-04-05_212547
    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.
    2018-04-05_213641
    I hope this helps :)

    Best regards,
    Mike

    #938391

    1. 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=0

    #938465

    Hi,
    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.
    2018-04-06_195746
    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,
    Mike

    #938655

    You/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

    #938656

    Hi,
    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,
    Mike

    #938662

    All perfect!! Over and out on this issue. Thanks again, we made it!!

    #938685

    Hi,
    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

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘Sidebar: Text, remove frames from date and comments and remove current post’ is closed to new replies.