bikram_068
Forum Replies Created
-
Forum: Plugins
In reply to: [Recent Posts Widget Extended] Display CategoriesYes, use below code in functions.php
$html .= get_cat_name( $args[‘cat’] ) ;
This will display the category name as you want.
Forum: Plugins
In reply to: [Recent Posts Widget Extended] Show category after dateTo show category title, use below code in functions.php
$html .= get_cat_name( $args[‘cat’] ) ;
This will work as you want.
Forum: Plugins
In reply to: [Recent Posts Widget Extended] Is There A Way To Echo Each Post's Category?Yes, use below code in functions.php
$html .= get_cat_name( $args[‘cat’] ) ;
This will work as you want.
Forum: Plugins
In reply to: preg_grep() expects parameter 2 to be array, boolean given inFound the fix:
Just replace bunch of following code in /n9m-font-awesome-4.php:
function walker_nav_menu_start_el( $item_output, $item, $depth, $args ){
$classes = preg_grep( ‘/^(fa)(-\S+)?$/i’, $item->classes );
if( !empty( $classes ) ){
$item_output = $this->replace_item( $item_output, $classes );
}
return $item_output;
}with this Repalcement code:
function walker_nav_menu_start_el( $item_output, $item, $depth, $args ){
if (is_array($item->classes)) {
$classes = preg_grep( ‘/^(fa)(-\S+)?$/i’, $item->classes );
if( !empty( $classes ) ){
$item_output = $this->replace_item( $item_output, $classes );
}
}return $item_output;
}all works now!!!
Forum: Plugins
In reply to: [Font Awesome 4 Menus] Missing Argument for FontAwesomeFourI just did an update to font awesome plugin, its now generating following error:
Warning: preg_grep() expects parameter 2 to be array, boolean given in /home/…/public_html/wp-content/plugins/font-awesome-4-menus/n9m-font-awesome-4.php on line 216
Can you please suggest the solution?
Forum: Plugins
In reply to: preg_grep() expects parameter 2 to be array, boolean given inSame here..but when I deactivated the font awesome plugin all ok..
Forum: Themes and Templates
In reply to: How to change alt and title tags of every wordpress pages?thanks esmi,
I got the idea,
thanks for your great help.dhiraj.
Forum: Themes and Templates
In reply to: How to change alt and title tags of every wordpress pages?Yes Esmi,
sorry, its not alt.
I was talking about the title tag.
Have you any idea of having the title tag different to that of appearing in the navigational menu while hovering.
ie, if the page is “About Us” and in the Nav Menu When you hover over “About Us” Page , it should display as “About WordPress..” right to the cursor, ie, the same is done by alt tag for image.
Thanks in advance.Forum: Themes and Templates
In reply to: Php clone to <iframe> tag…Can anyone plz give me the solution that:
how <iframe> can be substitute in php?Forum: Themes and Templates
In reply to: relative path problems in wordpress blog..I think frame are not seo friendly.And i already used “file get contents” and the contents of external site is showing.But when I click on an image…it point to https://www.mysite.com/…. rather to pointing the external webpage link.
Can I change this link to https://www.externalsite.com/….. by using .htaccess(for the page i want) or any other plugin ?
Forum: Themes and Templates
In reply to: making link pointing only the url of the page..No no..
I have made the content of another url to shown in my wordpress page…it showing its images..but when i click on that images it doesnot open the content of the another url page but my own page as “https://my website/02/….”
Any idea?Forum: Themes and Templates
In reply to: Two questions …Sir,
Is this question out of topics to be involved in the wordpress forum ?
I don,t know honestly..D.
Hello sir..
would you please state specific code to the problem…
or some similar example code..
It will me more help ful to me..
Sorry for disturbance…thanks for reply..
I am a newbie in css..
Could you illustrate me more?Forum: Themes and Templates
In reply to: how to put wordpress pages only inside public_html…Thank you very much MichaelH.Thank you.
bikram