gotcha5832
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: admin – Modify edit-tags.php?taxonomy=categorythanks!
Forum: Developing with WordPress
In reply to: admin – Modify edit-tags.php?taxonomy=categoryThanks for you answer.
sorry if you didn’t understand.
I just wich to remove html, on admin categories list page and just display an excerpt of raw text
echo substr(strip_tags(category_description)), 0, 200);
Of course, when I edit a category i which this one display with html.
Is it more clear?
Forum: Plugins
In reply to: [Redirection] action_code=0It’s seems this happen only on new post move.
But I got 10’s websites, after check this happen only on 1.
Today, I cannot send you an export as I done ;Update wp_redirect_item Set
action_code
=301 WHERE Setaction_code
=301But I’ll try to send you as soon as i got some more action_code=0
Forum: Plugins
In reply to: [Redirection] action_code=0thanks to take time for answer and sorry about my explanation.
I’ll try to be more clear
As you know on /wp-admin/tools.php?page=redirection.php, in redirection tab we got a left column “type” (301, 302…)
In my table I got many type=”0″
wich mean in database action_code=0An example is a post which have been moved
/cat1/post_amazing -> /cat2/post_amazing
the type of redirection is 0, but if I check is a 302if i edit it, with “show advanced option we got
When matched URL only with HTTP code 301If I save it, still the same.
I have to change to 302, then save, then edit again, change to 301 and save in order to get 301,
OR
just disable or remove redirection in order to get a 301Forum: Fixing WordPress
In reply to: problem with ‘ in category nameSo I changed by
$this_category = get_category($cat); // if (in_category(single_cat_title('', false))) { if (in_category($this_category->slug)) {
Forum: Fixing WordPress
In reply to: problem with ‘ in category nameThanks for your answer but i’m not suret to have understand
Do you mean to not test on title but on slug?
Forum: Developing with WordPress
In reply to: add scrset to category descriptionsorry
add_filter(‘category_description’, ‘wp_make_content_images_responsive’);
was correctForum: Plugins
In reply to: [Yoast SEO] property="og:type" content="article" on CategoryI found..
function change_wpseo_opengraph_type(){ if ( is_front_page() || is_home() ) return 'website'; elseif (is_singular() || is_category()) return 'article'; else return 'object'; } add_filter('wpseo_opengraph_type', change_wpseo_opengraph_type );
Forum: Plugins
In reply to: [Yoast SEO] Filter wpseo TitleSorry the editor broke my message
” ?” => “ ?”
” ?” => ” & #8239; ?”
Answer.
Only need to add an user-agent:$options = array(‘http’ => array(‘user_agent’ => ‘Mozilla 4’));
$context = stream_context_create($options);
if ($contents = file_get_contents($url,false, $context))that’s true, I have also the problem in safari.
Thank you, I was fighting for 2 days, with the same problem when I read your post.
I change to 100%, and refresh, and OK.
But did find a solution?