WordPress help - Ask your questions

Status
Not open for further replies.
^ well you need to edit the theme files to make the header widgetized.

if you want to try, add the following code to your functions.php
Code:
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' => '',
) );

You'll see a new widget area box on the backend. And to display the widget on your header, add the following code on your header.php, perhaps after the site title/logo
Code:
<?php
    if ( ! dynamic_sidebar( '[COLOR=#ff0000]unique-sidebar-id[/COLOR]' ) ) :
    endif;
?>

For phone or contact number you can use text widget. You may need to adjust the styling via CSS though.
 
Last edited:
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.

If you are still looking for answer to this question, here's how:

Load Google Webfont stylesheet to the header by adding these codes to your functions.php
Code:
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' );

Done, now you can use the font(s) via CSS
Code:
body {	font-family: "Open Sans", Arial, sans-serif;
	}
p {
	font-family: Merriweather, Georgia, serif;
	}

Please correct the red to google's url and remove the spacing. Also change the orange texts to "tt", sorry but I can't post links yet.
 
Here's an easy one. (Hopefully)

I'm just trying to list the categories I have on a page. When the category is clicked I want it then show all the post associated with said category. I've been searching google and wordpress.com and everyone wants to display the POSTS from a category on a page. I just want to list the categories. I never thought it would be so hard to just make a list on a page.

Example: http://www.johnchow.com/archives/

See how he has all the categories listed there? I just want to show the categories/subcategories on a page that then link to all the post of said category.

Thanks.
 
Last edited:
S1lv3rdo7...

1. Create an empty file on your theme directory, eg. page-archives.php
2. Paste the following code into that file
Code:
<?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(); ?>

3. Save and upload the file to your host.
4. Create new page, select "Archives" for it's page template on the right side, just leave the content empty.
5. Done

You can customize each widget above, for example to display post count on category list and make it hierarchical you will do this:
Code:
<?php the_widget('WP_Widget_Categories', 'hierarchical=1&count=1'); ?>

For further customization please refer to "the_widget" section on WordPress codex, just google it.

Oh, and you may need to adjust the HTML markup from the above template to fit your current theme.
 
Last edited:
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.

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.

Looks like there are file(s) that didn't uploaded correctly/completely. Since you can't access your dashboard then you might want to try to re-upload all the WP files.
 
Hello

I have MusicSpace theme on my site and I have a question:
There is a menu bar on my site that contains my categories. How can I change these categories with pages from wordpress?
 
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
 
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

go to your hosting control panel search for a auto installer for wordpress and other scripts
 
Prepare for noobish question! I tried to search but failed
When i create a different Pages and a category every page has that category i created. How to make that every page has their own diffferent categories i create?
 
hello

few days ago i updated wp to last version (3.6.1)

and now i cant upload images

can you help me?

best

George
 
This is a really newbie question... But I had a free wordpress blog and then I bought the domain. In the meanwhile, I forgot to do the website verification for google, so I was getting almost zero views via search engine. I did it for a few weeks now, but my site still is not ranked. The pr appears "n/a." Am I doing something wrong? is this normal? or can I speed things up somehow?
 
I updated address info on my sites contact us page and after I updated, the page now returns error 404 page not found. Nothing was modified except for the address information. I'm wondering what caused this and how can I fix it? I have already resaved permalink structure, and manually rewrote htaccess but both did not work. Any suggestions how to fix?
 
One question.

If you buy a domain and hosting and then set up a wordpress blog on it, can you connect it with Wordpress.com reader so that others can like your posts, follow you and get notifications from you?

Thanks in advance!
 
Status
Not open for further replies.
Back
Top