GenericBox
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: PHP include in Plugin functionfunction jpvg_options_screen(){ include(plugins_url('options.php', __FILE__)); }Forum: Fixing WordPress
In reply to: IF certain day (Sunday, Monday, etc) show certain IMAGEI will write you a plugin.
Forum: Fixing WordPress
In reply to: Logo Image vs Header Image?No no not the title on the actual page – the
<title>tag affects the name of the browser window.On the tab in your browser – does it say Progressive Insanity in the name of the tab? or just the url?
Forum: Fixing WordPress
In reply to: Display child pages, can't find solution<div class="row-fluid"> <ul class="thumbnails"> <?php $mypages = get_pages( array( 'child_of' => $post->ID, 'sort_column' => 'post_date', 'sort_order' => 'desc' ) ); foreach( $mypages as $page ) { $content = $page->post_content; if ( ! $content ) // Check for empty page continue; $content = apply_filters( 'the_content',$content ); ?> <li class="span4"> <article class="thumbnail clearfix"> <img src="img/radiant.jpg"> <h3><a href="<?php echo get_page_link( $page->ID ); ?>"><?php echo $page->post_title; ?></a></h3> <p><?php echo $content; ?></p> <a href="#" class="btn btn-primary pull-right">Read More</a> </article> </li> <?php } // Close the Loop ?> </ul> </div>Forum: Fixing WordPress
In reply to: Display child pages, can't find solutionI think it is because you are not closing the
foreachfunction.foreach is a loop – for each of xx, do this as yy
{So your function above is saying – for every child page, create an article, with the title/content/read more link.
But then you haven’t closed the loop – so it isn’t starting again.
It thinks its still in the one loop.
Try only this instead:
Edit: DO NOT PUT the
<strong>and<code>tags at the bottom – I was trying to make the Close Loop bold on this post – as it is the important part.`Edit 2: I removed the code and put in a new post below as to avoid confusion.
Forum: Fixing WordPress
In reply to: Logo Image vs Header Image?It might just be on my end – but I am not seeing a title at all. If you are using a non-custom Theme then you should not change the header.php file.
If you also see no title (just http://www.progressiveinsanity.com/testwp) make sure you have all the fields filled out in Settings > General and Appearance > Options
Forum: Fixing WordPress
In reply to: Permanently collapsed admin barUse a free image hosting service. I’m not sure if the guys here recommend one – I haven’t used one in a while but imageshack.us is the one I know about.
Forum: Fixing WordPress
In reply to: Display child pages, can't find solutionHave you closed off the
foreachloop after the first</li>?Forum: Fixing WordPress
In reply to: Help on removing a white gap between my header and image slider?There we go working now π
But yeah – what Eric_6 suggested.
It is the #navigation ID margin-bottom selector. Make it 0px or a much smaller size.
Once you’ve created a child theme of course.
Forum: Fixing WordPress
In reply to: Help on removing a white gap between my header and image slider?Nope, still not for me unfortunately. How long ago did you set up the site? Perhaps it hasn’t propagated properly across the globe yet?
At least not to my ISP anyway.
Forum: Fixing WordPress
In reply to: Help on removing a white gap between my header and image slider?Server not found.
Can’t really provide any advice until we see it – can you provide a screenshot?
You sort it out with CSS though – but you will need to create a child theme if you are using an existing one or add the CSS in-line
Forum: Fixing WordPress
In reply to: remove page titleIt is as I wrote above:
/* .page tells it to only affect Page titles - not Posts or Home titles */ .page .entry-title { display:none; }That will hide just the title (in case you have set something else to display in the header like a subtitle).
But, if you want to hide the whole header block:
.page .entry-header { display: none; }And as WPyogi says – create a child theme so you are not changing the existing themes CSS directly.
Forum: Fixing WordPress
In reply to: Problem with Post content appearing as titleNo problem, glad you got it sorted.
Please do not mistake my frankness as rudeness, but…
Google is not instant – it doesn’t know the second you update your page that it too needs to update – it isn’t (necessarily) pulling data directly from your site in a listing.
It crawls the internet using spiders (little automated ‘robots’) that find new content and index it. These spiders will go back to your page from time to time to pull new data.
However, I just searched “Theatre Pedagogy & More” and your listing is appearing as:
You have found Theatre Pedagogy & More | A Research Project ... www.theatrepedagogymore.org/β Theatre Pedagogy & More endeavours to create a method, which focuses on this personal enrichment in itself. It strives to understand the mechanisms of ...If you want the “A research project …” to appear as the text under your link – you need to add it to a “description” meta tag in the header.php file
<meta name="description" content="A Research Project Aiming at Creating a New Theatre Pedagogical Method for Personal Growth" />Forum: Fixing WordPress
In reply to: Permanently collapsed admin barCan you give us a screenshot? If you have cleared your cache are you sure you logged in again? The Admin bar won’t be present unless you are logged in.
If you need to login – go to http://www.yousite.com/wp-admin
or http://www.yoursite.com/subdirectory/wp-admin
Depending where you installed WordPress.