burnsmicro
Forum Replies Created
-
Forum: Themes and Templates
In reply to: 2 home pagesResolved!!! ..at least for Atahualpa 3.4.9
1. Create a new page, called “Home” and take note of its ID (i.e., 43)
2. In Settings –> Reading, select “A static page (select below)”
3. Select “Home” as the static page
4. Select “Posts” as Posts page
5. In Appearance –> Atahualpa Theme Options –> Page Menu Bar –> Exclude pages from Page Menu Bar? –> Enter ID of Home page (i.e., 43).
Forum: Themes and Templates
In reply to: 2 home pagesI should mention I am trying to use WP3.0 with Atahualpa 3.4.9.
In Settings –> Reading I have set up a static page with “Home” as the front page and “Posts” as the Posts page.
I got several hits on searching the Forums for “2 home page”. The most promising:
https://www.ads-software.com/support/topic/296910?replies=5
open up your header.php and delete
<li><a>/">Home</a></li>
because you have a static front “Page” for your home page now.and
https://www.ads-software.com/support/topic/383184?replies=4
2) You need to edit the header.php file of your theme and remove this code:
<li><a href="”……">Home (Page?)</a></li>
I searched for every *header.php file and searched for “
<li><a href
and came up empty handed.
Can anyone offer some new suggestions?Forum: Themes and Templates
In reply to: 2 home pagesI should have provided the URL of the problem site: https://cadbay.ca
Forum: Themes and Templates
In reply to: 2 home pagesOk, how did you solve your 2 home page problem?
I have the same problem and I can’t find a solution that works.
Forum: Themes and Templates
In reply to: Obituary Bars on Banner Image – Where is the CSS?Found it!!
The black bar styling code was in Atahualpa Options -> Various Content Items -> NEW Add HTML/CSS Inserts -> CSS Inserts:
div#imagecontainer {
border-top: solid 5px #333;
border-bottom: solid 5px #333;
}
:Forum: Themes and Templates
In reply to: Obituary Bars on Banner Image – Where is the CSS?Good point, Clayton. The problem site is at https://aresst.org/CBRA/.
Indeed, I have scoured the Atahualpa Options pages, but I have not succeeded in finding any reference to the black bars that sanwich the banner image.
Then I searched the Forum and found that this issue had already been reported and resolved (https://www.ads-software.com/support/topic/405274?replies=4). However, I was unable to apply the solution successfully, probably because I am missing some key piece of information.
Forum: Themes and Templates
In reply to: Need help with top and bottom bars around bannerSorry, but where do I find Atahulapa’s “theme’s CSS”? I have searched www/wp-content/themes/atahualpa and I cannot find “imagecontainer”.
Thanks
Forum: Plugins
In reply to: exec-PHP – not executing in posts (single.php)I am new to WP and I am not having any success inserting some php in a few posts and pages.
I have followed these steps:
1.Signed on as Administrator
2.Added and activated EXEC-Php and Deactivate Visual Editor plugins.
3.Created a new blank page
4.Disabled the Visual Editor on the new page: Custom Fields → deactivate_visual_editor = true
5.Disabled tag balancing in Settings → Write.
6.Assumed, as administrator I have “unfiltered html” capability, since I do not see how to activate this feature.
7.Assumed, as administrator I have “exec php” capability.
8.In the Editor (with no Visual or HTML tabs), type in:
<?php echo “This is the Exec-PHP ‘Hello World'”; ?>The Preview shows:
<?php echo “This is the Exec-PHP ‘Hello World'”; ?>I then modified …/plugins/exec-php/includes/runtime.php by inserting:
if(strpos($content,'< ?php ‘)!==FALSE)
{
$content=str_replace(‘< ?php’,'<?php’,$content);
}
..at the start of “function filter_user_content($content)” right after “global $post;”, as suggested above, with comments claiming miraculous results.But, no miracle. The page preview still shows:
<?php echo “This is the Exec-PHP ‘Hello World'”; ?>
I have a feeling I am missing something obvious. Can someone point it out to me?