Can MLM be used outside of WordPress

Forums Forums Menus Can MLM be used outside of WordPress

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1034
    jerumball
    Member

    Please excuse me if I don;t explain myself correctly here, but I am not an html/css expert at all. <img decoding=” title=”Smiley” />

    I have successfully integrated MLM into my WordPress site, but there is one part of my site that isn’t WP driven, but I would like to style that page to match my WP style with MLM.

    So is it possible to use the CSS code generated for MLM in a non-WordPress page?

    My site is http://www.jerumballphotography.com and it is the Proofing page that is not displaying properly under Firefox, but is under IE for some reason.

    Thanks, in advance, for any guidance you can provide.

    John

    #7068

    The following should do the trick:
    [code:1k3ltgul]<?php
    require(‘wp-load.php’);
    if (function_exists(‘pixopoint-menu’)) {pixopoint_menu();}
    ?>
    [/code:1k3ltgul]

    The path to wp-load.php needs to point to the wp-load.php file in the WordPress root. You can also use wp-blog-header.php if you want some extra functionality from WordPress which isn’t available from wp-load.php alone.

    #7069
    jerumball
    Member

    Thank you Ryan for suggesting this.  I tried using that code, but it doesn’t appear to do anything.  Perhaps I don;t understand where exactly it should be placed and what it does.  I modified the path to point to my blog root as you suggested.

    I am trying to get this to work on this page specifically:
    http://www.jerumballphotography.com/photocart

    I placed that code snippet inside the body tags… is that correct?  Does this code generate the menus or just the css code?  I’m confused, sorry.

    #7070

    You definitely don’t want to place it inside the BODY of anything. The wp-load.php call must come before anything else. All you need is the script I posted above and the menus HTML will appear. Then you can work the HTML you require around the if (function_exists(‘pixopoint-menu’)) {pixopoint_menu();}  code.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.