Forum Replies Created

Viewing 15 replies - 166 through 180 (of 189 total)
  • Thread Starter 5high

    (@5high)

    Hi Portblade,

    Thanks for that info – I’d spent a few hours scouring the forums too! – though what I hadn’t thought of was creating a new user account (MUCH simpler!!). I’d already changed the old .htaccess and wp-config.php files, though maybe I missed something in them – I’ll look again. Also I think the BWPS makes some of the changes in the database files – hence my attempt at changing my ID in my phpAdmin. I also re-installed my database backup, but that didn’t seem to help – so the new user thing is probably best.

    However, as this is part of a full new site, and I’d rather not have any residual code that might effect it later (at a much more crucial stage), my first option is for a full home directory install – which I’m currently working on (as it doesn’t seem to be loading properly).

    Thanks for your help – I’ll follow up with my final solution – though what I’ve learned from this disaster is that it’s much much better to uninstall a plugin via my wp admin – and NOT just delete it on the server! Good lesson.

    Cheers.

    Thread Starter 5high

    (@5high)

    Thanks for your comments Ipstenu. I thought moving files was more likely to break links in plugins?? – hence the plan to not have to actually move any of them, just change the selection order for the index pages in the .htaccess file file.

    I also wanted a clean look to all site pages’ URLs, so wanted it all in the root, rather than a subfolder, which would then show in the URL – at least that’s what I presume happens even after a the steps in “Giving WordPress Its Own Directory”?

    Actually, I do appreciate that the help here is from the gifting of someone’s free time and knowledge – and it is always much appreciated. But one of the reasons I posted this, is because I thought it was potentially an excellent, clean ‘fix’ for what is obviously a common issue for many wordpress users – probably not website designers who do heaps of them – but definitely for those like me who are just trying to change their own site… so for the benefit of others too and the development of this excellent product.

    Thread Starter 5high

    (@5high)

    Thanks for the feedback Curtismchale – and your help of course. All good now and I’ll probably just try to avoid using the functions.php unless I really have to, as it’s a whole new code to me… or I’ll have to try and learn it! My next new task maybe…
    Cheers.

    Thread Starter 5high

    (@5high)

    The full code I put in my child style.css was this –

    /* to reinstate the page title in the Showcase template + to drop it down a bit from the horizontal menu bar */
    article.intro .entry-title {
    	display: block !important;
    	visibility: visible !important;
    	background-color: #000000 !important;
    	padding-top: 30px !important;
    	padding-right: 20px;
    }

    though I’m not sure if I need to put !important after everything – or whether I really need the visible attribute too??

    Thread Starter 5high

    (@5high)

    Would really appreciate a comment from anyone who’s expert on site design and .htaccess files – preferably before I commit to a potentially risky plan for the whole of my new site!
    Thanks – hopefully…

    Thread Starter 5high

    (@5high)

    OK, have done a bit more research, and it seems like the display: block is best with +/- visibility: visible !important for good measure too. So now like this –

    display: block;
     visibility: visible !important;

    Any comments from expert css coders out there please??
    Much appreciated.

    Thread Starter 5high

    (@5high)

    Oops – well it appeared to be working…till I tried to sign out, the it displayed MULTIPLE warning errors (similar to before)…so have changed the child functions.php to just empty php tags – with nothing else at all in

    <?php
    ?>

    and it works again. So I guess that’s what you meant by NO html in it!
    I feel a total idiot for doing this! Not sure where I got the header bit from now, as it was at the start of exploring how to do a child theme.
    So thanks for your help.

    Thread Starter 5high

    (@5high)

    When I tried it first with just that line of php removed, it still didn’t work, but have since got it working by totally removing my child functions.php file AND when I keep it in but had no php calls and no spare lines between the php marks – so all good now. I guess I’d either written it incorrectly, or was calling a function that the new 2011 theme does anyway – so was causing a conflict?
    Thanks for your help – but would appreciate your comments on this, Curtismchale, so I can learn for the future!
    Cheers.

    Thread Starter 5high

    (@5high)

    Do you mean that literally all that should be written in my child theme functions.php file is this –

    <?php
    add_theme_support( 'custom-header' );
    ?>

    and nothing else at all in the header bit?? And that’s what the ‘Warning’ message (as per my 1st post) was about??
    Cheers.

    Thread Starter 5high

    (@5high)

    OK, I forgot about helpful plugins! have now found a nice simple one that does the trick – ‘Show Menu Shortcode’ by Bob Matsuoka.
    Unfortunately it overides my font-style, and I can’t find the bit of css to correct it. I’ve tried:

    #menu-site_map-container .menu-site_map .menu {
    	font-family: Verdana, Geneva, sans-serif !important;
    }' in all its permutations, and

    #nav_menu-2 .widget widget_nav_menu #menu-site_map-container .menu-site_map.menu {
    font-family: Verdana, Geneva, sans-serif !important;
    }` again in lots of combinations.

    Any ideas – or comments if I’ve mad some obvious coding errors??

    Thanks.

    Thread Starter 5high

    (@5high)

    Thanks WPyogi,

    I’ve tracked it down and it now allows me to display the title – much better! So no need to look at php – whew!

    Not sure if I’ve used the correct code though for ‘display’ – to be shown again. I’ve used:

    article.intro .entry-title {
    	display: block !important;
    }

    but perhaps I should have used ‘in-line’ or even ‘in-line block’?

    What’s the correct term to call it back?

    Cheers.

    Thread Starter 5high

    (@5high)

    Hi Noahjonah,

    Thanks for your reply – what I mean is that when I inspect a page which is using the standard 2011 ‘Showcase’ template, by default it doesn’t show the entry-header class. So when I inspect it in Firebug it shows this:

    <header class="entry-header">
    <h2 class="entry-title">example page title</h2>
    </header>

    where the entry-header class is ‘greyed out’ (but I can’t find any reference to it in the css that firebug shows). So I’m guessing it must be cancelled in the Showcase Template somewhere…

    Actually, reviewing this again now reminded me that i could check it out in the wp Editor – so I’ve searched the Twenty Eleven: Showcase Template Page Template (showcase.php) for anything that looks likely under ‘header’ or ‘entry’. I’ve come up with 2 possible culprits, as per below:

    // Enqueue showcase script for the slider
    wp_enqueue_script( 'twentyeleven-showcase', get_template_directory_uri() . '/js/showcase.js', array( 'jquery' ), '2011-04-28' );
    
    get_header(); ?>
    
    		<div id="primary" class="showcase">
    			<div id="content" role="main">
    
    				<?php while ( have_posts() ) : the_post(); ?>
    
    				<?php
    					/**
    					 * We are using a heading by rendering the_content
    					 * If we have content for this page, let's display it.
    					 */
    					if ( '' != get_the_content() )
    						get_template_part( 'content', 'intro' );
    				?>
    
    				<?php endwhile; ?>

    or…

    // For all other recent posts, just display the title and comment status.
    					while ( $recent->have_posts() ) : $recent->the_post(); ?>
    
    						<li class="entry-title">
    							<a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
    							<span class="comments-link">
    								<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?>
    							</span>
    						</li>
    
    					<?php
    					endwhile;

    However, I just don’t get php script, so can’t work out which bits to edit or how!! Once I know which bit it is, I can put it my child theme – though I’m not sure how to reinstate a php function.

    I think this is a likely place to solve the problem, but I need someone who understands php to advise me – any ideas??

    Cheers.

    Hi,
    Your plugin sounds just what I need, but I’m afraid I’m experiencing the same problems as Tom.
    I’ve installed the plugin, activated as per usual, then… nothing changes in my menus (not as in your screenshot). I did have another menu manager installed (Enhanced Menu Editor) so I deactivated it and tried again – but still nothing. So if you have any suggestions that’d be great!
    Cheers.
    PS: I do have the Ubermenu installed, so perhaps that interferes with it?…

    Yes, that’s it. when I deactivated the Ubermenu plugin, then yours worked. But when I reactivated the Ubermenu plugin, yours stopped working – even on my non-Ubermenu menu. Pity!

    Thread Starter 5high

    (@5high)

    Very helpful – thanks again 🙂

    Thread Starter 5high

    (@5high)

    Sorry, I can’t give a link to the site as I’m developing it on a local server (hence the huge amount of details in my query!!) – BUT a BIG thanks to alchymyth, as his suggestion has worked first time and looks like this now:

    /*
    to change text alignment in footer widgets: keep text on left-align in left widget + centre widget text to center + right widget text to right
    */
    #first .textwidget { text-align: left; }
    #second .textwidget { text-align: center !important; }
    #third .textwidget { text-align: right !important; }

    though I’ve kept the left hand align for the 1st widget in just in case, even though its default is laft align…
    Many thanks for your link to other developer tools for Firefox – I’ll investigate them later today.

    Just one small (actually 2!) query re the correct writing of css:
    1. some write the brackets { + } on the same line as the identifier and others put the closing one on the line below – any difference??
    2. Also, the same re /* + */ in comments and some also put the /* on EVERY line of a longer comment and some put the closing */ on the line below.

    I realise this is totally off subject, so can post this in the coding forum if unsuitable here.

    Many many thanks to all.

Viewing 15 replies - 166 through 180 (of 189 total)