tracian
Forum Replies Created
-
Forum: Plugins
In reply to: [Redirection] Using regex to redirect around a permalink change?Hi there!
I have to fix the internal links of a website that changed its permalink structure.
The original used the
[domain]/[parent category]/[subcategory]/[possible further subcategory…]/[post title] structure,
while the new structure is [domain]/[post title]
To complicate things up, this is a multilingual website, so the URL structure can be either [domain] or [domain]/it/ .
I guess my best bet is regexing this to death, with something like “delete everything between the domain name and the post title”… but I have no clue about how to actually write a working expression for this.
Can anybody please help?
Please note that this is about the URLs used within the posts text, so it is really a text substitution question more than a WordPress issue.Same error:
function(){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function b(c){n.each(c,function(c,d){n.isFunction(d)?a.unique&&j.has(d)||f.push(d):d&&d.length&&”string”!==n.type(d)&&b(d)})}(arguments),c&&!b&&i()),this}
No network errors, though. I am running a Divi+WPML site, rather basic.
Forum: Plugins
In reply to: [Related Posts Thumbnails Plugin for WordPress] Issue when working with WPMLHi,
I am terribly sorry to be a nuisance, but I was wondering whether you had it sorted out, as this is the last element I need to finally publish my site ??
Thank you for your patience and kind help!
Forum: Plugins
In reply to: [Related Posts Thumbnails Plugin for WordPress] Issue when working with WPMLGreat! Looking forward to it!
Forum: Plugins
In reply to: [Contextual Related Posts] Issue when working with WPMLAnd here is what I mean with scaling. Above is the regular output of the plugin on mobile, and below the scaled output of another plugin (that however doesn’t work as good with language selection).
Forum: Plugins
In reply to: [Contextual Related Posts] Issue when working with WPMLBy the way: the WPML-related code did work all right, and you should really incorporate it in your plugin ??
Forum: Plugins
In reply to: [Contextual Related Posts] Issue when working with WPMLThank you for the link!
Yes, about the scaling, that is what I have in mind. This is something I have seen on other mobile sites (three thumbnails side by side) and that I have made a mockup of for mine – it is of course small, but clear enough to drive people to look at the thumbnails and click them.
Forum: Plugins
In reply to: [Contextual Related Posts] Issue when working with WPMLAbout scaling down – What I mean is to keep the same visual layout of the desktop view, just made smaller to fit on the mobile screen without rearranging the thumbnails on two or more rows.
About WPML – I am sorry, but I don’t know its technical side enough. What I would dare to suggest is a behavior like “if the record is empty due to missing translation, skip to the next item”, but there stops my programming prowess ??
Forum: Plugins
In reply to: [Contextual Related Posts] Issue when working with WPMLWell – of course it went there… sorry for the silly question.
Just one note: as it is now, if the picked post is only available in the other (wrong) language due to a missing translation, the plugin will display it anyway. Not a major issue, but you may want to consider a fix.
More importantly, however, is that on mobile I would like to display the results as a scaled-down row instead of a restacked series. Can you suggest the CSS to make this happen?
Thanks in advance!
Forum: Plugins
In reply to: [Contextual Related Posts] Issue when working with WPMLThanks! This is to be added in functions.php, right?
Right.
And what the CSS should be?
Hi,
this is a local dev installation running on DesktopServer, that generally works flawlessly as far as I know.
Looking forward to any advice!
Forum: Plugins
In reply to: [Extra Shortcodes] Removing line breaks from the listing?OK, got it with:
.et_pb_code_inner ul, .et_pb_code_inner ul li {
padding-top: 0;
padding-bottom: 0;
line-height: 1.3em;
margin-bottom: 2px;
}Thanks a bunch for your patience and help!
Forum: Plugins
In reply to: [Extra Shortcodes] Removing line breaks from the listing?Of course you were right.
My problem is that I am very css ignorant and I was working with the frontend of the theme, so I couldn’t reach the css code.
Now I have and things are sorta-working with
.et_pb_module.mycode ul li {
margin-bottom: 0;
}… but this doesn’t seem to target the first child items in the list, that now appear as:
Item 1
Item 2Item 2a
Item 3May I ask you for a bit more of your patience and the code to solve this?
Forum: Plugins
In reply to: [Extra Shortcodes] Removing line breaks from the listing?Hi, and thank you for replying… but it doesn’t look margin-dependent.
Please see the actual output on the left of the attached picture and the desired result on the right: