• How can I display, only in single post pages, the post ID, in the second position from top? I mean after the breadcrumbs, which are managed by a widget

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Because such output would occur between the breadcrumb and the subsequent custom HTML widget, you’d need a custom widget to produce the desired output straight from PHP.

    Alternately, alter your sidebar template code to output some dynamically generated inline CSS which adds an :after pseudo-element to the breadcrumb element. The pseudo-element’s content: property would be assigned the current post ID.

Viewing 1 replies (of 1 total)

The topic ‘echo post ID in sidebar’ is closed to new replies.