mugger
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Google XML Sitemaps] Exclude Pages By Parent IDCould someone translate this for use by non programmers???
You show lines to insert but, to my eyes, don’t tell how to use it.
Here’s a page excluder which DOES speak to ordinary mortals.
https://www.ads-software.com/extend/plugins/exclude-pages/Forum: Fixing WordPress
In reply to: Best auto starting WP in sub folderThanks.
Tried to mark “resolved”.Forum: Fixing WordPress
In reply to: Best auto starting WP in sub folderThanks for fast response.
Suppose a hijacker inserts a malicious<iframe ...>
at bottom of file. Does it redirect or does WP take over first?Or can you tell how to prevent such attacks?
Forum: Fixing WordPress
In reply to: Widget width in sidebarRight side padding is 0. Default style.css.
Forum: Plugins
In reply to: [Plugin: WP-dTree] Collapse Expand not working at allA ha! After enabling, new widgets appear which need to be moved onto sidebar. Resolved.
Forum: Plugins
In reply to: [Plugin: WP-dTree] Collapse Expand not working at allSame problem. Beautiful description and dashboard, zero effect for Pages & Links. JS is not disabled. WP v 2.8.4.
Forum: Fixing WordPress
In reply to: footer.php recursionIs no one willing to explain making different footers on different pages? I thought I followed the docs.
Forum: Fixing WordPress
In reply to: footer.php recursionSeems not to matter.
Calling <?php get_footer(foot2.php); ?> displayed footer.php.
Here’s my page file:<?php /* Template Name: page(foot2) */ get_header(); ?> <div id="content" class="" role="main" style="width:700px;padding:0 0 0 20px;"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <!-- <h2><?php the_title(); ?></h2> --> <!-- <div class="entry"> --> <div style="width:740px;"> <?php the_content('<p class="serif">Read the rest of this page »</p>'); ?> <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> </div> </div> <?php endwhile; endif; ?> </div> <?php get_footer(foot2.php); ?> <br />
and my foot2.php
<?php /* Template Name: foot2 */ ?> <div id="footer" role="contentinfo" style="width:720px; margin:0 auto; border-top:1px #ccc solid;"> <span style="font-weight:bold;">Wordpress modified by xxxxx. <a href="longurl">Contact Webmaster</a></span> <a href="anotherurl/blog/">blog</a> <br /><br /> </div> </div> <?php /* "Just what do you think you're doing Dave?" */ ?> <?php wp_footer(foot2.php); ?> </body></html>
I’m okay editing page.php and footer.php, but not in letting more than one footer be selected.
Forum: Fixing WordPress
In reply to: Different component templates for different pagesGoogle search found answer.
https://codex.www.ads-software.com/Function_Reference/get_footerForum: Fixing WordPress
In reply to: block folder listing with .htaccessThanks. But does that also protect lower levels?
Hackers have gotten to some of my index.php in lower levels before I started learning more about wp security.Forum: Fixing WordPress
In reply to: HTML only pageSeveral weeks later, my understanding is greater but not complete.
This is an example of template which shows default header, custom
html, and controls width.
html2b.php<?php /* Template Name: HTML2b */ ?> <div style="width:50em;"> <?php get_header(); ?> <html> <body> Hello World, using html in WP page template<br /> with WP header.<br /><br /> Width can be set by template <div><br /> or TABLE constructs. </body> </html> </div>
Of course, I can omit the header, or add footer.
What I still want to know is what is the minimal code that will read
entries made through WP PageEditor, using custom template. Such would let me make new pages inside PageEditor without a new template for every html page.Such plugins as rawHTML and runPHP help me place custom content through PageEdit.
[Sorry I can’t delete my faulty Posts.]
Forum: Fixing WordPress
In reply to: hide comments default themeThank you.
Forum: Fixing WordPress
In reply to: hide comments default themeThis site is now being used to test WP thingies.
https://eat-slim.com/wp/
I appreciate your interest.Forum: Fixing WordPress
In reply to: hide comments default themeThanks. I had already commented those out, to no effect.
Forum: Fixing WordPress
In reply to: How remove “This entry was posted…” on post page?That still leaves “Comments are closed.”
I had deleted similar lines from image.php to no effect. Thanks for clarification.