• Resolved speedyweb35

    (@speedyweb35)


    Hi,

    I just installed the Fixed Widgets. Is it also possible to fixed a widget just for one post instead of all posts?

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Thomas Maier

    (@webzunft)

    Hi @speedyweb35,

    thanks for reaching out.

    Interesting question, I tested an idea and it would work:

    You can use the Custom Fixed Elements option to fix an element only on a specific post.

    To do that, you need to find a unique HTML identifier for the given page. You will probably find one in the <body> element of the source code.

    It should contain at least one element with the post ID. Like post-id-2 in the following example:

    <body class=”post post-id-2 logged-in admin-bar”>

    You then also need to identify the ID of the widget you want to fix, e.g., archives-2.

    Now you can build the entry that goes into the Custom Fixed Elements option. In our example, this would be .post-id-2 #archives-2.`

    If this doesn’t help then please send me a link to the post you want to enable this on and I will check which specific rule you could apply.

    Thanks,
    Thomas

    Thread Starter speedyweb35

    (@speedyweb35)

    Thanks for your reply, Unfortunately, I’m not really familiar with HTML. I hoped there was an option to use different Fixed elements for different posts. Is it easy to do it with also future posts?

    Plugin Author Thomas Maier

    (@webzunft)

    > I hoped there was an option to use different Fixed elements for different posts

    Sorry, there is no option, but the workflow above should help you accomplish this.

    > Is it easy to do it with also future posts?

    Theoretically, you should be able to have a condition that is applied to any post with a specific category or tag as well. Would that help?

    If you share a URL then I might be able to be more specific.

    Thanks,
    Thomas

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘One post widget’ is closed to new replies.