Seo-Devil
Regular Member
- Mar 16, 2012
- 355
- 207
as on the theme i am using there is no option to place widget on header, just side and footer?You can also make the header area widgetized so you can manage it via widget later.
as on the theme i am using there is no option to place widget on header, just side and footer?You can also make the header area widgetized so you can manage it via widget later.
register_sidebar( array(
'name' => __( 'Header', 'your_theme_text_domain' ),
'id' => '[COLOR=#ff0000]unique-sidebar-id[/COLOR]',
'description' => '',
'class' => '',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '',
'after_title' => '',
) );
<?php
if ( ! dynamic_sidebar( '[COLOR=#ff0000]unique-sidebar-id[/COLOR]' ) ) :
endif;
?>
After 3 hours of trying to get custom fonts in Wordpress I give up! Tried manually editing and plugins alike and screwed around with my CSS to no avail! AHH!
OriginalEXE I need your help! It seems to the easiest way is to use WP Google Fonts plugin but it only changes the text in the menus and header/footer but not the body text. If I'm using this Plugin what's the custom CSS I need to insert so that the new fonts are accessible from the drop down menu in the page editor so I can use the body text with the new font? This is driving me nuts and your help would be MASSIVELY appreciated. Thanks.
function add_google_font_style() { $protocol = is_ssl() ? 'h[COLOR=#ff8c00]xx[/COLOR]ps' : 'h[COLOR=#ff8c00]xx[/COLOR]p';
$query_args = array(
'family' => 'Open+Sans:400,400italic|Merriweather:400,700|More+Font:fontweight1,fontweight2',
);
wp_enqueue_style( 'google-fonts', add_query_arg( $query_args, "$protocol: [COLOR=#ff0000]/ / fonts [dawt] googleapis [dawt] kom / css[/COLOR]" ), array(), null );
}
add_action( 'wp_enqueue_scripts', 'add_google_font_style' );
body { font-family: "Open Sans", Arial, sans-serif;
}
p {
font-family: Merriweather, Georgia, serif;
}
<?php
/**
* Template Name: [COLOR=#ff0000]Archives[/COLOR]
*/
?>
<?php get_header(); ?>
<div class="content">
<!-- Display categories -->
<?php the_widget('WP_Widget_Categories'); ?>
<!-- Display monthly archives -->
<?php the_widget('WP_Widget_Archives'); ?>
<!-- Display recent post -->
<?php the_widget('WP_Widget_Recent_Posts'); ?>
</div><!-- .content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
<?php the_widget('WP_Widget_Categories', 'hierarchical=1&count=1'); ?>
Hi BHW, I am not very active on forums but I follow you every day, and I want to repay for everything I received from this forum and it's members.
I have noticed that many users here are struggling with WordPress and that is why I want to offer my help in this topic. I have used WordPress for a very long time and I believe I can help many of you.
Feel free to ask questions about anything, styling, hosting, domains, plugins, themes, optimization etc.
Looking forward to helping you with your WordPress issues.
SITE: farabischoolDOTcom
OriginalEXE
Hi,
i would like to ask how to i change Admin password from user-profile, also when i logged in to my side then there is just White Page appear NO DASHBOARD.
when open my site then below mention error appear.
"Fatal error: fatal flex scanner internal error--end of buffer missed in D:\Hosting\3151631\html\farabi\wp-config.php on line 36"
Kindly help me out with all this ill be grateful to you.
hey guys
this a total newbie question so im hoping i dont get flamed but hoping you can point me in the right direction.
i am a newbie to website design and seo - but i do some other IT stuff
now i have some domains for local businesses which i would like to install wordpress on - i then would like to have a few blogs and couple of video and sell the space for local business. Now this will only work if i am on page 1 of google ( top 3 spots )
all of these are low competition keywords - but even before i can do the seo i need to install wordpress and a theme etc etc
i have bought the domains and and thats it - can someone please please let me know how i go about getting my domain live with a wordpress theme on it and hence making it look awesome
sorry for the total newbie question but i guess some of you were where i was
thanks all
In single posts I did ediditing some files but on home page I can't fnd the function which get the time
thx