Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
sanny
tagDiv Member

Hi,

Thanks all worked great and I was able to upgrade to latest version successfully.

However, I was wondering how did I set my mega menu last time in a way that not all subcategories were showing but a few selected.

Right now all the subcategories are showing under the mega menu, please suggest how can I limit the categories to show a few of them.

Thanks Sanny

sanny
tagDiv Member

Hi Catalin,

Thanks for your response but this is not what I had asked, I am trying a better explanation this time, please check below:-

1) Mega Menu – I want subcategories in the mega menu like my old site https://banglalive.com
Screenshot – https://drive.google.com/a/tcg-digital.com/file/d/1hlmFwtqJnNlp-Ujc_PqfSnUOb5yyLFyF/view?usp=drivesdk
I have already set the root category as mega menu category – https://drive.google.com/file/d/16eVgF2OPXAfPJWv6FuqOT792v0f0DLns/view

2) I do not want all the category tags to be removed from frontend but few selected categories to not to appear in the frontend, e.g FAP, Slider etc.
Your solution will remove all the categories tag – https://www.screencast.com/t/nQrAXLYYjyVt

Please let me know further ASAP.

Thanks Sanny

sanny
tagDiv Member

Another issue – I do not want a category to appear in frontend and I have already selected it to hide from Theme Settings Panel – https://drive.google.com/a/tcg-digital.com/file/d/1PlP4z1S5pGpsuelZpoX_IbwZJ39ltRrZ/view?usp=drivesdk

But still it is showing in frontend, please tell me how can I acheive this – https://drive.google.com/a/tcg-digital.com/file/d/1tvRl8JHe6Uhbk0Mg1Iz1-QXxkDJ6Thbu/view?usp=drivesdk

Please do not forget to reply for the query earlier to this reply about Mega Menu.

sanny
tagDiv Member

Hi,

Can you please share a detailed step by step process to upgrade my theme from 4.6.1 to latest Newspaper theme.

There should be some script which can update all page/post shortcodes to compatible shortcodes with the latest theme.

Thanks Sanny

sanny
tagDiv Member

We are using this shortcode – [td_slide_big]

sanny
tagDiv Member

Just got another question, In authors page posts sayd 0 whereas author has created many posts for a different post type. I used

<?php

function add_articles_to_homepage( $query ) {
if ( !is_admin()) {
$query->set( 'post_type', array( 'post', 'article') );
}
return $query;
}
add_action( 'pre_get_posts', 'add_articles_to_homepage' );

?>

But its not working, please suggest.

Also do not for get to reply on previous question.

sanny
tagDiv Member

I can not see Footer With Logo widget in your latest THEME version?

sanny
tagDiv Member

Mega menu will work with Custom taxonomies ?

sanny
tagDiv Member

Footers and many settings are not implemented after the upgrade and not even the theme colors. PS:

Also after the update site it looking destroyed, please see:

Original website:http://banglalive.com
After update: http://128.199.172.169/banglalive/7/

Please let me know if I am doing something wrong or how to correct these issues

sanny
tagDiv Member

I am running WordPress 4.1.2 and your THEME 4.6.1

Please share me detailed steps and information how can I update WordPress, theme and all plugins as I tried earlier but not working and Home page getting blank.

I am stuck, please help.

sanny
tagDiv Member

Please use this URL:-
Updated: http://202.54.73.243/bl

sanny
tagDiv Member

Thank you for your reply.

I followed step by step, can see theme has been updated but can’t get it exact same. CSS missing, icons not showing and Footer is completely different.

Original: http://banglalive.com
Updated: http://172.20.24.116/bl/

You can compare the difference. Please check and tell me what I am doing wrong and how can I get the same exact as previously configured.

Thanks Sanny

sanny
tagDiv Member

Shortcode: [MENU_HOME], [td_slide_big] don’t seem to working anymore, please help.

sanny
tagDiv Member

Just got a temporary FIX, may help someone:

I made changes in this file:

plugins/td-social-counter
Line: 213

Replaced these lines of code:


$td_data = $this->get_url("http://facebook.com/$user_id");

if ($td_data === false) {
$this->log(__FUNCTION__, 'The get_url method FAILED, returning 0');
$buffy_array = 0;
break;
}

$pattern = "/id=\"PagesLikesCountDOMID\">(.*?)<\/span><\/span>/i";

//first match - get the string with number of likes and the likes word
preg_match_all($pattern, $td_data, $matches);

//replace all the classes in the sting returned by first regular expression

$sub_string = preg_replace('/class=\"(.*?)\"/i', '', $matches[1][0]);

//extract only the numbers
$buffy_array = $this->extract_numbers_from_string($sub_string);

With the below:


/* ---------------------------------------------------

----- CUSTOM SCRIPT WRITTEN BY -------
----- SANNY SRIVASTAVA -------

--------------------------------------------------- * /
$fb_page_detail_xml = "http://api.facebook.com/restserver.php?method=links.getStats&urls=https://www.facebook.com/$user_id";
// read feed into SimpleXML object
$fb_page_detail_xml_array = simplexml_load_file($fb_page_detail_xml);
$buffy_array = (int)$fb_page_detail_xml_array->link_stat->like_count;

Thanks

sanny
tagDiv Member

Kindly update when you have any solution.

sanny
tagDiv Member

I posted in wrong thread

sanny
tagDiv Member

Thanks, it worked.

sanny
tagDiv Member

Yeah I have already tried resetting permalink.

sanny
tagDiv Member

Hi Emil G,

Thanks for your response. I did the same way you have suggested, when I navigate to a topic of a forum (Majlish) result is Home => Forums (It is linking to correct URL) but after this it shows => Majlish (Which is a forum name) and appends “/majlish” for current url. When I navigate into pagination within the topic now the last breadcrumb (majlish) link like “/page/4/majlish” and leads to 404.

http://128.199.172.169/forums/topic/%E0%A6%AE%E0%A6%9C%E0%A6%B2%E0%A6%BF%E0%A6%B6-%E0%A7%A7/page/4/

Thanks let me know if I didn’t explained this clearly.

sanny
tagDiv Member

Also, why this section only show admin, as I have many users/authors in my website. http://awesomescreenshot.com/0fc4sttoa9

sanny
tagDiv Member

Hi,

That was THEME ERROR but I have set it not to show warnings n notices, so works fine now but the another issue I faced is, my recipe page have posts in all category (default wordpress category used with custom post type) but when I hover to Recipe mega menu it do not show posts which are assigned from different post type but it show if I create post in default post type.

How can I resolve this issue, I set all post type query in PRE_GET_POSTS but I am not sure why it is not working.

Kindly suggest.

Thanks

sanny
tagDiv Member

In Chrome console message appear is:

“6(index):1Consider using ‘dppx’ units, as in CSS ‘dpi’ means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual ‘dpi’ of a screen. In media query expression: print, not all, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi)”

Also I tried switching theme to default twenty fifteen but this time no error message.

Kindly revert.

sanny
tagDiv Member

Hi,

I activated BBPRESS and this notice is showing up and also no ajax is working in backend I am not able to edit THEME settings.

Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /var/www/html/news/wp-includes/functions.php on line 3547

Kindly let me know if I am doing anythign wrong.

Thanks Sanny

Viewing 23 posts - 1 through 23 (of 23 total)