Forum Replies Created

Viewing 15 replies - 16 through 30 (of 49 total)
  • drb05

    (@drb05)

    hey wwhat did you do get all the thumbs in one row and the arrow to appear for scrolling thumbs. I am not seeing any arrows for my thumbnail navigation.

    any suggestions? please?

    Thread Starter drb05

    (@drb05)

    Awesome the later code ‘exclude’ worked. Made my day!.

    Thanks a bunch.

    I got two more questions, though.

    1. how can I safely remove ‘posts’ and ‘comments’ sections (or atleast disable so as not to see in the site) and also ‘categories’ link in the sidebar.php?

    I tried taking some codes out with my limited knowledge. but it messed up some of my layout.

    The index.php has the follwoing lines:

    <?php get_header(); ?>

    <div id=”content”>
    <p align=”justify”>some stuff that i have here….

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <p class=”postmetadata”><?php the_time(‘F jS, Y’) ?> <!– by <?php the_author() ?> –>
    <div class=”post” id=”post-<?php the_ID(); ?>”>
    <h2>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h2>

    <div class=”entry”>
    <?php the_content(‘Read the rest of this entry »’); ?>
    </div>

    <p class=”postmetadata”>Posted in <?php the_category(‘, ‘) ?> | <?php edit_post_link(‘Edit’,”,’|‘); ?> <?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?>
    </div>

    <?php endwhile; ?>

    <div class=”navigation”>
    <div class=”alignleft”><?php next_posts_link(‘« Previous Entries’) ?></div>
    <div class=”alignright”><?php previous_posts_link(‘Next Entries »’) ?></div>
    </div>

    <?php else : ?>

    <h2>Not Found</h2>
    Sorry, but you are looking for something that isn’t here.
    <?php include (TEMPLATEPATH . “/searchform.php”); ?>

    <?php endif; ?>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    2. How can i add an external link (pointing to some other html page) in sidebar?

    Sorry to continue in the same thread.

    Please help.

    Thanks,

    drb

    drb05

    (@drb05)

    For some reason, it didn’t work for me in pages, now suddenly it started working. maybe the long URL path lengths. I shortened it after going through amos posts.

    1. Can somebody let me know how to have different galleries? create different subfolders?

    Thread Starter drb05

    (@drb05)

    Sorry about that. Its my ignorance in the subject causing the trouble.

    if somebody can execute php code within my blog and hack it, I want to make sure they don’t have access to execute php code.

    since I am using the plugin, i am assuming any posts or pages, will be able to execute php commands and open the doors for hacking. Am i right?

    I want to make sure only i can post and execute php code as administrator. What setting should I do or choose in WP do have that peace of mind?

    Or I see that you are using this plugin:
    https://priyadi.net/archives/2005/03/02/wordpress-php-exec-plugin/

    What user level should I set to have maxmimum security?

    Or am I still blabbering about hacking etc? being paranoid?

    Sorry. Any help is much appreciated.

    Thanks

    drb

    Thread Starter drb05

    (@drb05)

    Thanks for the response. Are you referring to the same plugin over here:
    https://www.soeren-weber.net/post/2005/08/18/50/

    I don’t have any clue on how to hardwire php onto only page to have the above code to work. Could you please give me some leads?

    Or can I safely use the exec-php plugin myself? I mean how can I make sure users or any other people are not accessing the plugin and using it? are there any options to uncheck?

    Thanks,

    drb

    Thread Starter drb05

    (@drb05)

    At last I got it to work. The issue was ‘rich text editor’.
    It was messing up all my php codes.

    everything works fine now.

    However, I am not sure about exec-php plugin that I am using to have this feature.

    Thread Starter drb05

    (@drb05)

    Hi Jwurster,
    Thanks for the code.

    I have couple of issues. Please help me out.
    1. Is there a way to just show the title alone of feeds?

    2. I got it to work. But when I tried to edit the page I create using admin panel, i could not see <?php> codes at top and bottom and saw only rest of the code. Like below-
    require_once (ABSPATH . WPINC . ‘/rss-functions.php’);
    //feeds go here
    $streams[]…………………
    }
    }
    }
    ?>
    When I clicked HTML button on the edit page, it was more weird. It showed like this-
    <!--p<br-->require_once (ABSPATH . WPINC . '/rss-functions.php');
    //feeds go here
    ..................
    ?>

    <p />
    NOTE:- …….(dots) are rest of the codes in the middle. I did not paste the entire one, But i was able see the codes except for above modification at top and bottom.

    When I added a new URL and saved it, my page went blank. No feeds came up.

    3. Are you referring to this plugin to execute php commands within a page?
    https://www.soeren-weber.net/post/2005/08/18/50/
    I installed and activated it. That’s how my RSS feed was working in the first place.

    The author says it is dangerous to allow execution of such php codes. I am really ignorant on those issues.

    Please let me know.

    thanks,

    drb

    Thread Starter drb05

    (@drb05)

    very very sorry. Email is there, but not sure why it isn’t showing.
    Please email me at bizzebee_xp(at)yahoo(dot)com

    Thanks a bunch.

    Thread Starter drb05

    (@drb05)

    Awesome!
    That is what I was looking for. PLEASE send it to my email ID given for this forum.
    I can’t wait to try it out for me.
    Hope it is configurable.

    Oops by the way, why isn’t your rss feed page showing within your WP layout? I mean the sidebar etc is missing. I wish to show mine within the layouts. Hope that is possible too.

    By the way, you got a classic blog site. Very nice.

    Thread Starter drb05

    (@drb05)

    I will be really happy to try it out. Wondering, can i put this code (which calls feed) on a new page through admin panel?
    <? include (‘newsfeeds/zfeeder.php’); ?>

    THe reason, I asking this is for some reason, when I create a new page and put some codes, it disappears.

    Thread Starter drb05

    (@drb05)

    please?

    Thread Starter drb05

    (@drb05)

    Please??

    Forum: Fixing WordPress
    In reply to: nicer archives
    Thread Starter drb05

    (@drb05)

    thanks, I will try it out first. Incase if I am stuck for another 2 -3 days, I will request your help. Hope my email does not get ‘spammed’ in your inbox. ??

    Forum: Fixing WordPress
    In reply to: nicer archives
    Thread Starter drb05

    (@drb05)

    Oops. I actually meant, that if one clicks on narchives.php in sidebar, it should take them to archives page within WP layout.
    I am not sure how to put that link i sidebar. If I put the link as shown above, then a new page opens up without WP layout.

    how can I do that?

    sorry I wasn’t clear.

    drb

    Thread Starter drb05

    (@drb05)

    one more [bump]

Viewing 15 replies - 16 through 30 (of 49 total)