agileArt
Forum Replies Created
-
Forum: Themes and Templates
In reply to: archive & can you creteat an archive subtemplate ?ok Paulwpxp. thank you went ahead and did that.
in functions.php i now have//load subtemplate archive function archive_style() { if( is_page_template('archive.php') ) : wp_register_style('my-style', get_stylesheet_directory_uri() . '/css/archiveST.css', array(), '', 'all' ); wp_enqueue_style( 'my-style' ); endif; } add_action('wp_enqueue_scripts', 'archive_style');but when i click to got there is still get the oil platfrom in the back. Even though I have removed it from this css.
Any advice on how I can remove it?this is the css for the main page
#wrap{ background-image:url('img/oilPlat02.png'); background-repeat:no-repeat; background-position:top left; min-height:1500; }this is for the archive page
#wrap{ //width:1400px; margin:0px auto; background-image:url('../img/archiveXprtPng.png'); background-repeat:yes-repeat; //background-attachment:fixed; background-position:top right; }not working.
Thx
DForum: Themes and Templates
In reply to: archive & can you creteat an archive subtemplate ?ok. but that is where i am not clear. i can equeue a style sheet w/out a subtemplate?
just select archive.php and use that to give it a diff stylesheet?
thx
DForum: Themes and Templates
In reply to: archive & can you creteat an archive subtemplate ?Good point Paul. I was thinking of a different stylesheet for it.
What would be the best way for that?
I thought I had to create a subtemplate.Forum: Themes and Templates
In reply to: how do i link a custom css for a subtemplate?Awesome. thanks Esmi. the new engineering template is glaringly horrible. but no doubt it’s connecting. will try & pretty up tomorrow
Forum: Themes and Templates
In reply to: how do i link a custom css for a subtemplate?got it to work again. yey for back up copies as I could not find the error
Forum: Themes and Templates
In reply to: how do i link a custom css for a subtemplate?ok this kinda sucks.
after trying that out gettingParse error: syntax error, unexpected ‘}’ in /home/content/p/d/x/pdxdaniela/html/thebigmeow/wp-content/themes/cdiDlm/functions.php on line 50
Forum: Themes and Templates
In reply to: how do i link a custom css for a subtemplate?also not quite a php expert what if I had more than one extra stylesheet would this work?
function subtemplates_style() { if( is_page_template('engineeringST.php') ) : wp_register_style('my-style', get_stylesheet_directory_uri() . '/css/engST.css', array(), '', 'all' ); wp_enqueue_style( 'my-style' ); if( is_page_template('contactST.php') ) : wp_register_style('my-style', get_stylesheet_directory_uri() . '/css/contactST.css', array(), '', 'all' ); wp_enqueue_style( 'my-style' ); endif; } add_action('wp_enqueue_scripts', 'engineer_style');and so on? for about three more styles?
thx.
DForum: Themes and Templates
In reply to: how do i link a custom css for a subtemplate?Thank you Esmi! will go try out your advice.
Deliberate. probab not. just a typo. thank you for pointing it out!btw. as you are indeed a theme diva.any chance you could look this up.
http://wordpress.org/support/topic/blogpost-thumbnails-do-not-display?replies=5
and tell me if you know of a solutin/link to tutorial/info on showing diff posts next to each other by category?
I did manage to solve and show a post and a thumbnail. (thank you lynda.com)Forum: Themes and Templates
In reply to: blogpost & thumbnails do not display.Hi there finally got it to work by using
<?php query_posts("post_per_page=2"); the_post(); ?> <?php the_date(); ?> <?php the_post_thumbnail(); ?> <h4><?php the_title(); ?></h4> <?php the_excerpt(); ?> <a href="<?php the_permalink(); ?>" class="btn btn-mini">read more</a> <?php wp_reset_query(); ?>but what exactly is <?php wp_reset_query(); ?> for? and how do i get to show the four more recent post by their category?
Forum: Themes and Templates
In reply to: blogpost & thumbnails do not display.yep. I did add the “featured images” in the appropriate wp-admin area (but good point on asking, sometimes it’s the obvious that trips people up)
Will look up the WP_Query()Thank for the info.
Thank you
DForum: Themes and Templates
In reply to: blogpost & thumbnails do not display.And something is showing up in chrome. but not firefox.
Forum: Themes and Templates
In reply to: my bootstrap js is not recognized by the themeThank you Jason that did it. I also found where the code for jquery was repeating in the functions & took that out as well.
Thank you!Forum: Themes and Templates
In reply to: my bootstrap js is not recognized by the themeAll right Jason. thanks for the clarification.
I did however removed the two script tags from the footer and still get the same problem.Forum: Themes and Templates
In reply to: my bootstrap js is not recognized by the themeJason thank you for taking the time to look at this.
I did check my header/head And actually did not see where i am calling the bootstrap.min.js there.
I am calling it from the function.phpfollowing on a tutorial i was doing it is also at the bottom, below the footer.
Is that what is causing the error and the ui to jump to the bottom when the user clicks on the accordion/slider?
thx
dForum: Themes and Templates
In reply to: Images not showing up.Thank you will go take a look.
Roots has sort of been “imposed” on me. but would love to present a better/easier alternative if it is out there.
D