• Resolved ggamat

    (@ggamat)


    Is there a way to add content to the video page? The page that individual videos play on with the slug “video”. I can’t find this page to edit. I want to add content above it. Primarily navigation.

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

Viewing 1 replies (of 1 total)
  • Plugin Support San Rosh

    (@sanrosh)

    Yes 👍 — there is a way to add custom content (such as navigation) to individual video pages.

    Why you can’t find the “video” page

    The page with the /video/ slug is not a regular WordPress page.
    Each video has its own single post page, generated dynamically by our plugin.

    Technically:

    • Videos belong to a custom post type named aiovg_videos
    • The content is injected using WordPress’s the_content filter
    • That’s why you don’t see a page you can edit from Pages → All Pages

    Option 1: Add content programmatically (recommended for simple navigation)

    You can hook into the_content and prepend (or append) custom HTML to all single video pages.

    Add the following code to your theme’s functions.php file or a custom plugin:

    function aiovg_before_post_content( $content ) {
    if ( is_singular( 'aiovg_videos' ) ) {
    if ( wp_get_referer() ) {
    $button = "<p>";
    $button .= "<button id='my-back-button' class='btn button my-back-button' onclick='javascript:history.back()'>";
    $button .= __( '&laquo; Back', 'textdomain' );
    $button .= "</button>";
    $button .= "</p>";

    return $button . $content;
    }
    }

    return $content;
    }
    add_filter( 'the_content', 'aiovg_before_post_content', 99 );

    You can replace the button markup with:

    • Navigation menus
    • Breadcrumbs
    • Custom HTML blocks
    • Shortcodes

    Option 2: Use a Page Builder (Elementor / Divi)

    If you’re using Elementor or Divi, this becomes even easier:

    1. Create a Single Post Template
    2. Assign it to the post type: aiovg_videos
    3. Add any content you want:
      • Navigation
      • Headers
      • Sidebars
      • Custom layouts

    This gives you full visual control over the video page without writing PHP.

    Hope this helps! If you’re still facing any issues, please feel free to submit a support ticket here for personalized assistance: https://plugins360.com/support/

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.