digitalnature
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to remove (not hide) twitter and rss buttons in 2.02<?php function no_icons($nav_extra){ return ''; } add_filter('mystique_navigation_extra', 'no_icons'); ?>Forum: Themes and Templates
In reply to: Remove Page Title From Home Page using Mystique themeedit the page or post on which you want to hide the title, and add a custom field named “hide_title”
Forum: Themes and Templates
In reply to: No image in article on home pageor just select “full” post previews from the theme settings 🙂
Forum: Themes and Templates
In reply to: ad code 4 in header and slide overlaptry this:
<?php function insert_post_ads(){ if (is_single()) echo do_shortcode("[ad code=1 align=center]"); } add_action('mystique_after_post', 'insert_post_ads'); ?>if you really want the ads inside the content the old code should work:
<?php function insert_post_ads($content){ $content .= do_shortcode("[ad code=1 align=center]"); return $content; } if(is_single()){ add_filter('the_content', 'insert_post_ads',4); add_filter('get_the_excerpt', create_function('','remove_filter("the_content", "insert_post_ads",6); return;'),5); } ?>Forum: Themes and Templates
In reply to: ad code 4 in header and slide overlapthe page width control was useless.
And the slider will be back.see the code I posted above for the ad placement in the header.
you can change the page width/or column widths from the design tab…if you want a custom page width, select “fluid”, then use the css option, eg:
.page-content{max-width: 1200px;}Forum: Themes and Templates
In reply to: ad code 4 in header and slide overlapsettings are kept, but if you made changes to the theme files, you’ll loose them.
make back-up first just in case…Forum: Themes and Templates
In reply to: ad code 4 in header and slide overlapthis is easier to do in mystique 2.0.
if you update to this version, instead of the previous code, in thecustom functionsfield paste:<?php function my_header_ads(){ echo do_shortcode("[ad code=4]"); } add_action('mystique_header', 'my_header_ads'); ?>then position the ad with css, eg:
#header .ad{ position: absolute; right: 0; top: 40px; }if you don’t want the site description, just leave the site headline blank from the settings page.
Forum: Themes and Templates
In reply to: Remove Twitter Button on top nav barin the theme settings – advanced tab, there’s a “custom functions” field. paste this in it:
<?php function my_icon($nav_extra){ $nav_extra = '<a href="'.get_bloginfo('rss2_url').'" class="nav-extra rss" title="RSS Feeds"><span>RSS Feeds</span></a>'; return $nav_extra; } add_filter('mystique_navigation_extra', 'my_icon'); ?>this will reset the original 2 buttons and add the rss button only.
Forum: Fixing WordPress
In reply to: Acrlite 2.02 Widget display issuesor just enable jQuery from the theme settings, and the padding will go away
Forum: Themes and Templates
In reply to: Mystique – TweetMeMe doesn’t work with Featured Posts.8 is the priority for the hooked function.
you need that so the filter is added before get_the_excerpt calls the_content.Forum: Themes and Templates
In reply to: Mystique – TweetMeMe doesn’t work with Featured Posts.open tweetmeme.php and replace
add_filter('the_content', 'tm_update');
with:
add_filter('the_content', 'tm_update', 8);Forum: Themes and Templates
In reply to: Mystique – TweetMeMe doesn’t work with Featured Posts.you can’t make it work unless you turn off featured posts.
this because of bad plugin coding.more exactly, the plugin author hooks his function on “the_content()” without making sure the_content() is called within the main loop & not on other stuff (like the featured posts in this case)…
if you know php I could tell you how to fix this, you’ll need to edit the plugin code.
Forum: Themes and Templates
In reply to: Mystique – widgets & functions froze upit’s a jquery conflict.
one of your plugins loads its own jquery instead of the one that comes with wp.if you don’t know which one disable plugins one by one to find it…
Forum: Themes and Templates
In reply to: Background image problemsbody{background-repeat:repeat;}Forum: Themes and Templates
In reply to: [Mystique theme] Fixed Background Imagebody{ background-attachment: fixed; }
don’t change that, just paste this code in the theme settings/user css