Joms
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Create a new page based on TAGsYou can also achieve want you want in the URL:
http://www.yoursite.com/tag/competition-2011/Forum: Fixing WordPress
In reply to: Nav 'before' 'after' – not workingI just copy and pasted your wp_nav_menu code on my theme and it works.
HTML output:
<li class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-2 current_page_item menu-item-17"> <div class="x-left"></div> <a href="http://site.com">Home</a> <div class="x-right"></div> </li>Take not that they are inside the li tags.
Forum: Fixing WordPress
In reply to: How to get my custom header to workIt’s because there are extra quotation marks in your HTML:
<div id="”feature_box”"></div>Also you have to specify a width since there’s nothing inside the div and its parent.
Forum: Fixing WordPress
In reply to: Nav 'before' 'after' – not workingIsn’t it supposed to be like this instead?
wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary', 'before' => '<div class="x-left"></div>', 'after' => '<div class="x-right"></div>' ) );Forum: Fixing WordPress
In reply to: Return all post categoriesThis should do it:
http://codex.wordpress.org/Function_Reference/the_categoryForum: Themes and Templates
In reply to: Anyone know how to create this CSS effect?It uses javascript to change the background position of the image.
http://www.socialmediamarketing.com.au/wp-content/themes/Unite/js/ribbonScroll.js
It could be that the slideshow is configured to show only on your blog page. It should be configured to show in your front page instead.
If this is the case and the slideshow was called on the theme files you will see something like this in your theme:
if (is_home()) { //slideshow code }You must change it into:
if (is_front_page()) { //slideshow code }Or the slideshow could be called only in the index.php file and not on the page.php file of your theme.
Forum: Themes and Templates
In reply to: Drop Down Menu Not VisibleSorry I did not know you were using a plugin to embed the flash banner. I did a quick search about the plugin and I saw the parameter “wmode” in the plugin options/settings page.
http://kimili.com/plugins/kml_flashembed#tagGeneratorJust assign it to “transparent”.
Forum: Themes and Templates
In reply to: Create new social linksTry this widget plugin: http://wordpress.org/extend/plugins/social-media-widget/
Forum: Themes and Templates
In reply to: Drop Down Menu Not VisibleTry to add this inside your object tag:
<param name="wmode" value="transparent">Forum: Themes and Templates
In reply to: Remove Certain Characters from Post TitleYou can use different PHP string functions depending on what you want.
More info here: http://php.net/manual/en/ref.strings.phpUse one of these functions with the string from
get_the_title().With your example above you could use the preg_replace() string function.
Forum: Fixing WordPress
In reply to: Custom Post Type list postsIf you are using WP_Query you could use the post_type parameter:
$query = new WP_Query( array( 'post_type' => array( 'post', 'page', 'movie', 'book' ) ) );Or for a single post type:
$query = new WP_Query( array( 'post_type' => 'book' ) );Forum: Themes and Templates
In reply to: How to change a Theme Name with out destroying the siteYes you can do that or you can just rename it on the FTP client itself. Your theme will then be deactivated because WordPress won’t be able to find the previous theme that is set, you can easily fix this by re-activating the theme in the admin.
Forum: Themes and Templates
In reply to: Adding Borders with Padding to all imagesThe right syntax for the shorthand border style is:
border:1px solid black;Forum: Themes and Templates
In reply to: How to change a Theme Name with out destroying the siteYou can as long as there is no hard coded template url in your theme.