mapBaker
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Does a child theme override Mobile responsive layout?That worked! Thanks again!!!
Forum: Themes and Templates
In reply to: Does a child theme override Mobile responsive layout?Yikes! Gotta figure out how to remove that! Thank you!!!
Forum: Fixing WordPress
In reply to: Can you search a wordpress site from another page?@esmi THAT WAS IT!!!
wow that is super powerful…
the result is here:
https://openingofdetroit.org/
– right hand side under the mapTHANK YOU!!!
Forum: Fixing WordPress
In reply to: Can you search a wordpress site from another page?What I’m after is the ability to put a WordPress search box, with WordPress results styled to my page…
I’m not a fan of Google’s styled results…
I see stuff like this:
https://codex.www.ads-software.com/Creating_a_Search_Page
…and wonder how you would link to a search box if it was in another directory (the one holding your wordpress install).
Thoughts?
Thank you!!!
Forum: Fixing WordPress
In reply to: RSS feed not workingOk great! Just making sure I’m not cluttering things up…
And as you said, maybe this will be useful for someone else…
Still wondering why the feed was failing, but…another day..
Thanks again!
Forum: Fixing WordPress
In reply to: RSS feed not workingHey @kmessinger … yes, weird it is working now…
Any way to delete this thread? Or…?
Forum: Fixing WordPress
In reply to: RSS feed not working@kmessinger I want to display the RSS feed from my wordpress site on a non-wordpress / bootstrap page, as referenced above…
I only see plugins to display other RSS feeds on a wordpress widget…
Forum: Fixing WordPress
In reply to: How do I change the link target of the header image?Thank you, @esmi!
I see this in my header.php:
<?php $header_image = get_header_image(); if ( ! empty( $header_image ) ) : ?> <a>"><img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" /></a> <?php endif; ?>
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code has now been permanently damaged by the forum’s parser.]
…but wondering how a child theme – which seems to be only CSS? – could help?
Or can I create a child header.php?
Just trying to figure out how this might work…
Thanks!
-m
Forum: Themes and Templates
In reply to: Can Header.php be used elsewhere on a site?All – Giving up on this. Even template authors have told me its not possible.
Thank you anyway!!!
-m
Forum: Themes and Templates
In reply to: Can Header.php be used elsewhere on a site?CB,
you’ve got the directory structure right on.
i’ve put the code you cited into a .php fle with <html> and <body> tags.
i get a blank screen in return.
does the .php file need to have anything else in it?
thanks again for your help,
-m
Forum: Themes and Templates
In reply to: Can Header.php be used elsewhere on a site?@rev Voodoo:
these are .php pages with HTML and PHP script within.
example from where I’m at now:
(filename: page.php)
<html>
<body><?php $currentdir = dirname(content/wp-content/themes);
include ($currentdir . ‘/../twentytwelve/header.php’);
?>
</body>
</html>Forum: Themes and Templates
In reply to: Can Header.php be used elsewhere on a site?I tried a page.php (at the server root) with this code:
<html>
<body>
<?php $currentdir = dirname(content/wp-content/themes);
include ($currentdir . ‘/../twentytwelve/header.php’);
?>
</body>
</html>…to no avail. What do you suggest?
Thank you for this! I think we’ll get this to work…
-m
Forum: Themes and Templates
In reply to: Can Header.php be used elsewhere on a site?Unless I’m doing something wrong, that doesn’t seem to work…
Have you been successful with this before?
-mb
Forum: Themes and Templates
In reply to: Can Header.php be used elsewhere on a site?Andrew,
Interesting!
For some reason I can’t get this, or get_header
Any further examples would be great.
Also: is there a way to simply include the files using a standard php include?
And: does get_template and/or get_header work outside the WP install directory?
Thank you!!!
-mb
Forum: Fixing WordPress
In reply to: How to move MENU below HEADER image in Twenty Twelve themeThanks this worked great!