Forum Replies Created

Viewing 15 replies - 376 through 390 (of 408 total)
  • I’m not seeing a problem between the meta and the content (in Firefox, Safari, Chrome on Mac) but if you make these tweeks to your CSS it will help with the spacing between the title and the meta.

    .posttitle h2, .posttitle h2 aREMOVE max-height: 45px;
    .posttitleADD overflow: hidden;

    Hope that helps

    Peter

    Do you mean switch to the Arras theme or to some other blogging platform that’s called Arras?

    If you’re just switching themes then you need to remember that BuddyPress is more than just a theme, it’s a whole extension to WordPress that gives you all of the social network like functionality. Your chosen theme therefore needs to be compatible with BuddyPress.

    It should be possible to make Arras compatible with BuddyPress, although it doesn’t seem to be as standard. Maybe a better option would be to search through the Theme Directory to find one that you like that is BuddyPress compatible.

    Another option would be to work with what you’ve got. I see that the previous person has already created a BuddyPress “Child” theme – you could always duplicate that and then make it look more like you want it to be.

    Hope that helps somewhat

    Good luck

    Peter

    Here’s another thought – since the theme developer has gone to a lot of trouble creating this theme for you to use, why deny him his credit completely… why not just hide it?

    If you add this to your CSS:

    #footer span.text { display: none; }

    the credit will be gone from the page, but will still be included in the HTML. Everyone’s happy then!

    If you call the custom field routine within the loop using the standard structure of get_post_meta($post->ID, 'nameoffield', true) then it will be addressing the post’s ID from the loop.

    The way to use the page’s ID is to first save the ID in a variable before the loop begins (eg, at the top of your php add <?php $thispage = get_the_ID(); ?> ) and then within the loop you can get the custom field with get_post_meta($thispage, 'nameoffield', true)

    Another way of doing it, of course, would be to save all of the page’s custom fields into variables before the loop and then you won’t have to use get_post_meta within the loop itself, thus avoiding confusion if you’re also pulling in post custom fields too.

    Hope that helps

    Peter

    Everything between, and including, the <span> and </span> tags.

    All WordPress themes use a separate file to hold the CSS (this is actually common practice anyway). Click on the Appearance tab on the left of your Dashboard and then Editor. You will now see your theme’s files in the right-hand list. At the bottom you should see a heading that says Styles. Find the one under that called Stylesheet (style.css). This is where you will find your site’s CSS. You don’t need a new CSS for your new template as you can just add what you need to the bottom of this.

    And then the fun begins!

    Peter

    This is a long-running and rather odd issue that I had happen to me a while back. After much searching in Google I came upon this little nugget:

    Have a look at your theme’s functions.php file and make sure there are no extra carriage returns after the very last line. Also check your wp-config.php file.

    Hope that helps

    Peter

    Forum: Fixing WordPress
    In reply to: Jolieme.com

    Sorry mate – I’ve never had to do that so I’ve really no idea. I was just talking in general principles as I know there are quite a few plugins that make sections of your blog private. I did notice that there is a plugin called WP-Chargify that looks like it does what you want. Maybe check that out?

    Good luck

    Peter

    Ah, now that I don’t know.

    There is a plugin (called Convert Post Types) that will convert posts into custom post types. At least that way you can convert all of your normal posts to custom ones and then have them hierarchical.

    If you go that route, don’t forget that you’ll need to do a custom WP_Query() each time as the standard query only does regular posts.

    Peter

    What do you mean by “hierarchical”? A drop-down menu with sub-menus is “hierarchical”. Do you perhaps mean alphabetical?

    If so, you need to modify your WP_Query() to something like this:

    <?php $query = new WP_Query( array ( 'orderby' => 'title', 'order' => 'ASC' ) ); ?>

    If you don’t have a WP_Query() in your code, then add it before the line that says <?php if ( have_posts() ) : ?>

    Hope that helps

    Peter

    PS: Here’s the reference in the Codex for WP_Query()

    Forum: Fixing WordPress
    In reply to: Jolieme.com

    In your dashboard, go to Plugins > Add New and search for “private members area”.

    I’m not entirely sure why you would want to do that!

    If you want to contain the sidebar in a fixed size and have the contents scrollable, all you need do is change the container div’s CSS so that it has a fixed height and add overflow-y: scroll;

    So, for you it would be:

    #sidebar { height: 500px; overflow-y: scroll; }

    Hope that helps

    Peter

    Here’s how I do it with a modified WP_Query:

    <?php $args = array(	'post_type'	=> 'events',
    			'post_status'	=> 'publish',
    			'order'		=> 'ASC',
    			'orderby'	=> 'meta_value',
    			'meta_key' 	=> 'event-date-start' ); ?>
    <?php $eventslist = new WP_Query(); ?>
    <?php $eventslist->query( $args ); ?>

    The important bit is meta_key which tells it to look at the custom field called ‘event-date-start’ (in my case, yours will no doubt be different!)

    Hope that helps

    Peter

    Here’s a strange thing then.

    In my ignorance (having never heard of this issue) I created a page called “events” and a custom post type also called “events” and haven’t ever had any problems with it!

    I’m currently using WP 3.1.3 and use Custom Post Type UI plugin 0.7. Permalink structure is set to /%category%/%postname%/. Only other thing I can think of that might effect this is SEO Ultimate.

    Am I lucky or have they fixed this? It must be said, though, that I don’t use pagination but the URLs work perfectly.

    Peter

    Did you get the name of the header .php file right? get_header('header2') would look for a file called header-header2.php!

Viewing 15 replies - 376 through 390 (of 408 total)