Mehmet
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Assign path to a variable and use in wp_enqueue_styleVariable had to be defined inside the function.
Not sure how i missed that ??
Forum: Themes and Templates
In reply to: exclude parameter for wp_list_categories does not work?? thanks guys.
Forum: Themes and Templates
In reply to: exclude parameter for wp_list_categories does not work@wpyogi It was a typo that you referred me to commercial theme support explanation paragraph, right?
Krishna, thanks for the link. Good to know that its been fixed on dev version.
Forum: Themes and Templates
In reply to: Latest Post not showing on Home Page?When you switch back to Twenty Eleven theme, do you see latest entries?
When i check the feed of your site, i see that your most recent entry is
InElements Rocks the Black Sheepand this entry is listed at the footer of your site. You know that you have a magazine style layout. Entries on front page are category based. If you post an entry under category Mountain Sports News, you will most probably see it on featured slider.
Forum: Themes and Templates
In reply to: Latest Post not showing on Home Page?You should not delete W3 total cache just like that.
After removal of W3 plugin;
Open wp-config.php -> Remove
define(‘WP_CACHE’, true);wp-content > delete
– advanced-cache.php
– w3-total-cache-config.php
– db.php
– w3tc/ (Whole directory)Your site seems to be broken at the moment, delete wp-admin, wp-includes folders and upload a fresh copy of WordPress too.
Forum: Fixing WordPress
In reply to: Meta_Query – Query based on multiple custom fields keyWe actually use same method Bren, here is my completed code ??
$args = array( 'post_type' => 'any', 'posts_per_page' => get_option('of_an_nr20'), 'meta_query' => array( 'relation' => 'OR', array('key' => 'iframe'), array('key' => 'video'), array('key' => 'videoflv') ) ); $gab_query = new WP_Query();$gab_query->query($args); while ($gab_query->have_posts()) : $gab_query->the_post();
Forum: Fixing WordPress
In reply to: Meta_Query – Query based on multiple custom fields keyJust to clarify it, I was looking for an OR relation between queries, thanks to WordPress 3.2
$args = array( 'post_type' => 'any', 'posts_per_page' => 5, 'meta_query' => array( 'relation' => 'OR', array('key' => 'iframe'), array('key' => 'video'), array('key' => 'videoflv') ) );
Forum: Fixing WordPress
In reply to: Custom menu ul classMy mistake with this, it works as expected..
Forum: Themes and Templates
In reply to: WordPress Custom MenuSeems my code has been stripped out. Here what I actually wanted to write
Using this code,
wp_nav_menu( array(‘theme_location’ => ‘main’, ‘container’ => false));I can return menu, but it also extracts
<ul> and </ul>
Is there any way to exclude ul before and after menu?
Forum: Networking WordPress
In reply to: Theme Control Panel on WPMU for sub blogsJust like you pointed Andrea, using edit_theme_options instead of edit_themes solved it.
function add_menu() { add_theme_page(__('Theme Settings','theme-name'), __('Theme Settings','theme-name'), 'edit_theme_options', "theme-name", array(&$this, 'optionsmenu')); }
Awesome ?? thank you very much
Forum: Networking WordPress
In reply to: Theme Control Panel on WPMU for sub blogsExactly, thanks Andrea, let me see what i can do to fix that issue ??
Forum: Requests and Feedback
In reply to: Duplicate categories created by WordPress importerWithout any exception, every time I import an XML file, the multiple categories are just created automatically. When I delete any of these multiple categories for some reason posts disappears.
Forum: Fixing WordPress
In reply to: No "Publish" but "Submit For Review" button displayed to site adminResolved, the issue is using all the available database/hosting space ??
Make sure that after all of your loop codes you have a <?php wp_reset_query(); ?> function
Forum: Fixing WordPress
In reply to: No "Publish" but "Submit For Review" button displayed to site admin@esmi
– Reverted back to default theme after deactivating all plugins, no avail, the issue is still reproducible