Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter hydroplane

    (@hydroplane)

    Thanks for the reply. Is this feature on the to-do list or not?
    I’m using the ‘Groups’ plugin and looking for a way to restrict access based on the group.

    Thread Starter hydroplane

    (@hydroplane)

    Thank you! I searched for those infos in the pdf guide and I couldn’t find them. Didn’t reall think about checking the FAQ, ops. ??

    Forum: Plugins
    In reply to: [WebLibrarian] Ajax Error?

    XAMPP
    Don’t know much about the techie stuff but basically it’s like a web server (?) on your pc. I use it develop and check a website before putting it up online. A sandbox if you want to call it that. In this case I’m running a copy a wordpress + your plugin. The address of my site is usually someting like https://localhost/mysite

    Forum: Plugins
    In reply to: [WebLibrarian] Ajax Error?

    Hello there! I’m testing the plugin on XAMPP and I’m receiving the same error. UpdatePatronID.php says

    This page contains the following errors:
    error on line 4 at column 6: XML declaration allowed only at the start of the document
    Below is a rendering of the page up to the first error.

    That’s it, just this. What can I do?

    download Ok, switched to the default theme so that fixed the problem. All the other plugins are disabled and I’m getting
    <answer>
    <userid/>
    <patronid/>
    </answer> as the other user.

    Thread Starter hydroplane

    (@hydroplane)

    Great, thanks. I’d be happy to provide a translation in my language.

    Thread Starter hydroplane

    (@hydroplane)

    Marking this as solved as the problem came from another plugin.

    Thread Starter hydroplane

    (@hydroplane)

    Thank you! I think I found another way, I’m posting it here for reference and hoping it will be useful to someone else. (Thanks to perishablepress.com for the loop template)

    Since I also wanted to have more control over the style and the appearance of those posts, I made a page called Press and applied this custom page template to it.
    In the example is just a very basic loop + the query_posts function (set to display my custom-post-type posts only) but you can start from it and style it any way you want.

    <?php
    
    /*
    Template Name: PostsOfPress
    */
    
    get_header(); ?>
    
    <?php
    //The Query
    query_posts('post_type=press');
    //The Loop
    if (have_posts()) : ?>
    
    <p>Display any code output from this region above the entire set of posts. This text is generated only if there are posts.</p>
    
    <?php while (have_posts()) : the_post(); ?>
    <! loop through posts and process each according to the code specified here >
    <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
    <?php the_content(); ?>
    <?php endwhile; ?>
    
    <p>Stop the post loop and process any code included here only once. This text is generated only if there are posts. Any code included in this part of the document is processed only once.</p>
    
    <?php else : ?>
    
    <p>If you are seeing this message, there are no posts to process/display. Any code included in this part of the document is processed only once.</p>
    <?php endif; ?>
    
    <?php
    //Reset Query
    wp_reset_query();
    ?>
    
    <?php get_footer(); ?>
Viewing 7 replies - 1 through 7 (of 7 total)