Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Atahualpa as a CMS issues


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Oct 15, 2009, 12:00 AM
twola
 
27 posts · Sep 2009
Atahualpa as a CMS issues

So we have a full blown site that uses this great theme.

We have a mix of custom PHP pages that use:

<?php
include (TEMPLATEPATH . '/functions/bfa_get_options.php');
get_header();
?>

We also have regular pages using the "create a new page" link.

The thing we are running into is that both types of pages have different CSS. What this means that we tried using the smooth gallery plug in that worked just fine in our PHP pages but dont wish to work on our wordpress pages.

We get javascript errors and the likes.

So the question of the day is how can we have similar CSS on both sorts of pages.



Thanks guys
  #2  
Old Oct 15, 2009, 02:01 AM
twola
 
27 posts · Sep 2009
This is the junk I get in my posts...


Code:
<div align ="center">
<p><script type="text/javascript"></p>
<p>stepcarousel.setup({</p>
<p>	galleryid: 'smooth_sliderc', //id of carousel DIV</p>
<p>	beltclass: 'smooth_sliderb', //class of inner "belt" DIV containing all the panel DIVs</p>
<p>	panelclass: 'smooth_slideri', //class of panel DIVs each holding content</p>
<p>	autostep: {enable: true, moveby:1, pause:10000},</p>
<p>	panelbehavior: {speed:500, wraparound:false, persist:false},</p>
<p>	defaultbuttons: {enable: true, moveby: 1, leftnav: ['http://sitename.com/wp-content/plugins/smooth-slider/images/button_prev.png', -25, 72.5], rightnav: ['http://sitename.com/wp-content/plugins/smooth-slider/images/button_next.png', 0, 72.5]},</p>
<p>	statusvars: ['imageA', 'imageB', 'imageC'], //register 3 variables that contain current panel (start), current panel (last), and total panels</p>
<p>	contenttype: ['inline'], //content setting ['inline'] or ['external', 'path_to_external_file']</p>
<p>	onslide:function(){</p>
<p>	  jQuery("#smooth_sliderc_nav li a").css("fontWeight", "normal");</p>
<p>	  jQuery("#smooth_sliderc_nav li a").css("fontSize", "12px");</p>
<p>	  var curr_slide = imageA;</p>
<p>  	  jQuery("#sldr"+curr_slide).css("fontWeight", "bolder");</p>
<p>	  jQuery("#sldr"+curr_slide).css("fontSize", "17px");</p>
<p>  }</p>
  #3  
Old Oct 15, 2009, 02:13 AM
juggledad's Avatar
juggledad
 
22,263 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
What version of Atahualpa, WP and PHP?
are you getting this in
A - one of the regular pages using the "create a new page" link.
B - one of the custom PHP pages
or
C - in the normal blog page
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Oct 15, 2009, 02:18 AM
twola
 
27 posts · Sep 2009
PHP 5
Atahualpa 4.4.4
Wordpress Mu 2.8.4a

This occurs on the home page (created in the admin section)
However it appears fine in any custom pages that I create.


The plug in I am using is Smooth Slider. You can install it and see for yourself.
  #5  
Old Oct 15, 2009, 02:29 AM
twola
 
27 posts · Sep 2009
Also FYI it is only the home page that I am using that is created using wordpress admin section.

I would have used a custom index.html file (i prefered that)...however it was appearing at a higher execution order than index.php (provided by wordpress) and it was screwing up the child sub blogs.

Thus we had to create the "Home" page and port the code in it. The home page just appears slightly different than the "custom" pages created using :

<?php
include (TEMPLATEPATH . '/functions/bfa_get_options.php');
get_header();
?>

It just appears that the CSS is different on both types of pages.

Last edited by twola; Oct 15, 2009 at 02:31 AM.
  #6  
Old Oct 15, 2009, 02:37 AM
juggledad's Avatar
juggledad
 
22,263 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
please post the url pointing to an example
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
FavIcon Issues dstorm Atahualpa 3 Wordpress theme 7 Oct 11, 2009 09:52 AM
[SOLVED] Atahualpa 3.4.2 speed issues ?? Dr.GameMaker Atahualpa 3 Wordpress theme 7 Jul 26, 2009 03:13 PM
Basic level question - Wordpress as CMS with blog attached tiber Installing & running WordPress 1 Jul 21, 2009 07:12 AM
Forum Issues ldsmedia Atahualpa 3 Wordpress theme 2 Jul 10, 2009 08:16 PM
Excerpts Issues RuthSmith Excerpts, Read more, Pagination 1 Feb 26, 2009 06:49 PM


All times are GMT -6. The time now is 12:18 AM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.