Forum Replies Created

Viewing 15 replies - 1 through 15 (of 61 total)
  • Thread Starter jami1955

    (@jami1955)

    Hey Cais, thanks for replying.

    You are correct, there were two lightbox effects running.

    However, it can only be corrected by turning the lightbox from the theme off, then the slideshow from nextgen will work. If I turn off the lightbox supplied from Nextgen and leave the theme lightbox on, the slideshow is broken, as a click on a thumbnail will only open that picture in lightbox, and there is no possibility of further viewing, outside of closing the lightbox and clicking other pictures individually.

    thanks again.

    Thread Starter jami1955

    (@jami1955)

    There’s only one slideshow, but you have to activate the slideshow by clicking on one of the thumbnails to get the odd effect I’m describing.

    Thread Starter jami1955

    (@jami1955)

    The question of how to limit WordPress plugins in general putting scripts on pages where they do not need to function is a WordPress issue, not a specific plugin issue.

    Having to pay developers so that I can get an answer on a forum they’ve created is also a reason why I would not post on that forum. Maybe you bypass this thread now, your contribution has been noted, but I think it’s reached it’s conclusion. No need for you to be repetitive.

    Thread Starter jami1955

    (@jami1955)

    On their forum, only 1 out of 5 posts are answered, that’s not quite good enuf for me to wait on the dev’s answers….

    this question is about any plugin script in the head, not just VFB. So again:

    can I limit the scripts in the head to the pages that actually need to run the plugin?

    Thread Starter jami1955

    (@jami1955)

    thank you.

    Thread Starter jami1955

    (@jami1955)

    Here’s a work around I found after only 5 hours of forum reading and research on the codex. It uses the “‘post_parent’ => $parent_page_id” to identify the parent of the page that’s being printed. However, it only works if the page being printed is the child of another page.

    I am not marking this resolved, because I would still like to know how to code it so I can get content from a specific page BEFORE the more tag, and retain formatting when it is a stand alone page, not a child of another page.

    This is the code that works for a child page:

    <?php
    $i = 0;
    $count = 1;
    global $more;
    $more = 0;
    $parent_page_id = 6;
    query_posts(array( 'post_type' => 'page',  'post_parent' => $parent_page_id, 'orderby' => 'menu_order', 'order' => 'DESC' ));
    if (have_posts()) : ?>
    	<?php while (have_posts()) : the_post(); ?>
    
    		<?php
    		if ((function_exists('has_post_thumbnail')) && (has_post_thumbnail())){ ?>
    		<?php } ?>
    		<h3 class="post-title"><?php the_title(); ?></h3>
    		<div class="post-content"><?php the_content('<span class="rm">Read more →</span>'); ?></div>
    
    	<?php
    	$i++;
    	endwhile;
    endif;
    ?>
    Thread Starter jami1955

    (@jami1955)

    I edited one core file: funtions.php – and to check it I undid all my edits. It didn’t seem to matter. I can totally replace the file to check it – do you think it’s likely that’s doing it?

    To check the validation, I checked it within Dreamweaver, they have a validation check on the code before it’s uploaded to the server.

    Thread Starter jami1955

    (@jami1955)

    Homepage has a template that has been modified by me extensively. The head definition is looking ok:

    <?php
    /*
    Template Name: Homepage
    */
    ?>
    <?php get_header(home); ?>

    that’s what is at the top of the homepage template.

    One thing that is worth noting is those characters appear BEFORE the document declaration, and HTML. They are the very first thing, see below – this is the source code for the page in Chrome:

    ??
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    Thread Starter jami1955

    (@jami1955)

    Brilliant. I changed the theme to 2013 and NO characters – gone. So.
    I’m still doubtful about where to start?

    Should I start throwing template pages out, and redo them? Since the problem is only on the homepage.php with attached header, footer, should I only concentrate there?

    Or is there a global function relevant somewhere that is applied to only these files (homepage.php, etc)?

    Could it be in the functions.php in the theme? I don’t think I changed anything there. And, the fact that it’s only on one page is mystifying.

    thanks again!

    Thread Starter jami1955

    (@jami1955)

    well, never got to the bottom of it, but the home page was the only page with that problem, so tried replacing the homepage header with another one and the funny symbols have now disappeared. So it was contained in the header somewhere, even tho I cleaned that code of any non ASCII characters.

    Thread Starter jami1955

    (@jami1955)

    The sort order must be set for each page on the edit page screen, then the pages in the list will sort themselves according to that.

    I had the same problem, version 3.1 – this solved it, VERY useful info. My theme had become AUTOMATICALLY deactivated and replaced by the default 2010 theme, and therefore the template drop down disappeared. It had become deactivated because —–

    I had moved the style sheet somewhere else outside the theme directory.

    oooo, WordPress did not like that. It then identifed the current them as “broken” and replaced it with the default. Well, I moved a copy of the stylesheet back into the them directory, and voila, it works again, and there’s my template drop down menu again. All is well. Just don’t remove your bloody stylesheet.
    JSC

    Thread Starter jami1955

    (@jami1955)

    That’s exactly right, Analog,

    it sounds like you are talking about when you are creating a post or page in you dashboard.

    And the box for “Page Attributes” is checked! Still no page template drop down menu. I’m wondering if I got hacked already, I just went online with it late this afternoon, and bam! That menu goes missing.
    JSC

    Thread Starter jami1955

    (@jami1955)

    Also: the php producing all of the above is:

    <div <?php post_class() ?> id=”post-<?php the_ID(); ?>”>

    thanks
    JSC

    Thread Starter jami1955

    (@jami1955)

    Nice one. Unfortunately, this code is not within the loop… thanks tho.

Viewing 15 replies - 1 through 15 (of 61 total)