• Resolved Conmeo

    (@conmeo)


    Hello,

    I build a static website but finally installed WordPress to make it possible to change some texts on the website. The texts are saved in WordPress as pages and included into the Website with:

    <?php
    include "wp-load.php";
    $page = get_page_by_path('Name');
    echo apply_filters('the_content', $page->post_content);
    ?>

    I tried the same with this Gallery plugin now. I created a WordPress page and included the gallery in the page with [WRG id=xx]. The WordPress page is included with the PHP include into an actually static webpage. I also linked the 7 CSS and 5 JS files to the webpage.

    <link type="text/css" rel="stylesheet" href="wp-content/plugins/responsive-photo-gallery/css/bootstrap.css" />
    <link type="text/css" rel="stylesheet" href="wp-content/plugins/responsive-photo-gallery/css/bootstrap-admin.css" />
    <link type="text/css" rel="stylesheet" href="wp-content/plugins/responsive-photo-gallery/css/hover-pack.css" />
    <link type="text/css" rel="stylesheet" href="wp-content/plugins/responsive-photo-gallery/css/img-gallery.css" />
    <link type="text/css" rel="stylesheet" href="wp-content/plugins/responsive-photo-gallery/css/jquery-rebox.css" />
    <link type="text/css" rel="stylesheet" href="wp-content/plugins/responsive-photo-gallery/css/pricing-table.css" />
    <link type="text/css" rel="stylesheet" href="wp-content/plugins/responsive-photo-gallery/css/rpg-meta.css" />
    <script src="wp-content/plugins/responsive-photo-gallery/js/bootstrap.min.js"></script>
    <script src="wp-content/plugins/responsive-photo-gallery/js/hover-pack.js"></script>
    <script src="wp-content/plugins/responsive-photo-gallery/js/jquery-rebox.js"></script>
    <script src="wp-content/plugins/responsive-photo-gallery/js/lightbox-script.js"></script>
    <script src="wp-content/plugins/responsive-photo-gallery/js/rpg-media-upload-script.js"></script>

    So the gallery is finally visible as expected and responsive but I can’t click on the images and get the lightbox, just the hover effect works to fade into a color.

    Is there any solution or do I have to build the whole website into WordPress now?

    Thanks!

    https://wordpress.org/plugins/responsive-photo-gallery/

Viewing 1 replies (of 1 total)
  • Hello Conmeo,

    In WordPress there many fee themes or templates are available for create a website.

    If you want to develop a templates then you have to read WordPress tutorials for create WordPress themes.

    Thanks

Viewing 1 replies (of 1 total)

The topic ‘Include’ is closed to new replies.