moisty70
Forum Replies Created
-
Parece que con la GPRD la cosa estará más complicada que un simple plugin. ?Sacaréis actualización?
Forum: Plugins
In reply to: [Cache Enabler] Warning With AutoptimizeThanks for the info.
Forum: Plugins
In reply to: [Cache Enabler] Warning With AutoptimizeWow. I’ll have a quick look at my website https://codigo.bet to check if autoptimized created js problems. I’ve installed yesterday and only checked the pageSpeed.
Its solved! I am using popup maker plugin.
Well,
The popup is showing but not the content. You are right, is something with other plugin cause I’ve tested in other WP 4.6.1 with same theme and is showing the content.
I’ll check which plugin can be.
Sorry, I see now that this plugin its not tested with WP 4.6.1 yet
- This reply was modified 8 years, 2 months ago by moisty70.
Forum: Fixing WordPress
In reply to: Permalinks to /%tag%/?tegory%/%postname%Got it,
Function get_permalink on link-template.php is missing the code for %tag%.
I created it similar than for %category% and worked.$rewritecode = array( '%year%', '%monthnum%', '%day%', '%hour%', '%minute%', '%second%', $leavename? '' : '%postname%', '%post_id%', '%category%', '%author%', $leavename? '' : '%pagename%', '%tag%', ); ********************** if ( strpos($permalink, '%tag%') !== false ) { $tags = get_the_tags($post->ID); if ( $tags ) { usort($tags, '_usort_terms_by_ID'); // order by ID $tag = $tags[0]->slug; } // show default category in permalinks, without // having to assign it explicitly if ( empty($tag) ) { $tag=<My default tag> } } **************************** $rewritereplace = array( $date[0], $date[1], $date[2], $date[3], $date[4], $date[5], $post->post_name, $post->ID, $category, $author, $post->post_name, $tag, );
Forum: Fixing WordPress
In reply to: Permalinks to /%tag%/?tegory%/%postname%Yes, thats it.
I have a news site in english and spanish and planned to have urls that way.
Only tags are: en (english) and es (spanish)
Categories are the same for both languages.I need this way because I will use the rss on other website, filtered by language and language+category.
When I type the url https://domain.com/tag_name/category-name/post-name it works, the problem is the title link (the_permalink()) href is https://domain.com/%tag%/category-name/post-name
(%tag% not tag-name)Forum: Fixing WordPress
In reply to: Permalinks to /%tag%/?tegory%/%postname%sorry I forgot the %
the title links ar substituted by
/%tag%/category-name/post-nameForum: Fixing WordPress
In reply to: Permalinks to /%tag%/?tegory%/%postname%May be I did not explain well. %tag% is in the list at https://codex.www.ads-software.com/Using_Permalinks
I am using permalink custom structure: /%tag%/%category%/%postname%
every direct link is working fine, the problem is the Post title links shown in home or archive.php they are substituded for /tag/category-name/post-name instead of /tag-name/category-name/post-name.
May be has to do with slug on tags.