morfe1
Forum Replies Created
-
Forum: Plugins
In reply to: [Posts in Sidebar] Multiple Category orderHi there,
Thank you very much for looking into it, I’ve tested the updated version.
It’s a way better now, however few posts from another categories still appear in the results.
I put ‘_yoast_wpseo_primary_category’ as a custom taxonomy key and custom taxonomy is the only checked option.
Here are the results for 3 posts:
1) new 4/6 correct results vs old 0/4https://hidemyage.staging.wpengine.com/hydrafacial-md/
vs
https://beautyblackbook.com/hydrafacial-md/right category id – 385 (daily skincare)
postID 7141 with primary_categoryID 1495 ( Beauty Products & Devices)
https://hidemyage.staging.wpengine.com/le-mieux-skin-perfecter/postID 3490 with primary_categoryID 1497 (ANTIAGING SKINCARE EDUCATION)
https://hidemyage.staging.wpengine.com/snail-facial/2) new 3/6 vs old 0/4 results
https://hidemyage.staging.wpengine.com/thermismooth-face/
Vs
https://beautyblackbook.com/thermismooth-face/right category id 710 (LASER SKIN REJUVENATION)
post 7071 primary_categoryID 706 (body)
https://hidemyage.staging.wpengine.com/ultrashape-power-fat-burning/post 6442 primary_categoryID (none)
https://hidemyage.staging.wpengine.com/what-is-dual-mode-microneedling/post 5958 primary_categoryID 1495 (Beauty Products & Devices)
3) new 5/6 vs 1/1 (don’t know why it doesn’t show any other)
https://hidemyage.staging.wpengine.com/brilliant-distinctions-program/
vs
https://beautyblackbook.com/brilliant-distinctions-program/right category id – 389 (Injectables)
post 7337 – primary_categoryID 2163 (BOTOX ALTERNATIVES)
https://hidemyage.staging.wpengine.com/rt002-by-revance/Hope it helps. I can live with that (even 60% is a way better than 0%, haha) but if you want to find out the culprit I will gladly assist with testing.
Best regards,
AlexForum: Plugins
In reply to: [Posts in Sidebar] Multiple Category orderHere are the results for 3 posts:
1) new 4/6 correct results vs old 0/4https://hidemyage.staging.wpengine.com/hydrafacial-md/
vs
https://beautyblackbook.com/hydrafacial-md/right category id – 385 (daily skincare)
postID 7141 with primary_categoryID 1495 ( Beauty Products & Devices)
https://hidemyage.staging.wpengine.com/le-mieux-skin-perfecter/postID 3490 with primary_categoryID 1497 (ANTIAGING SKINCARE EDUCATION)
https://hidemyage.staging.wpengine.com/snail-facial/2) new 3/6 vs old 0/4 results
https://hidemyage.staging.wpengine.com/thermismooth-face/
Vs
https://beautyblackbook.com/thermismooth-face/right category id 710 (LASER SKIN REJUVENATION)
post 7071 primary_categoryID 706 (body)
https://hidemyage.staging.wpengine.com/ultrashape-power-fat-burning/post 6442 primary_categoryID (none)
https://hidemyage.staging.wpengine.com/what-is-dual-mode-microneedling/post 5958 primary_categoryID 1495 (Beauty Products & Devices)
3) new 5/6 vs 1/1 (don’t know why it doesn’t show any other)
https://hidemyage.staging.wpengine.com/brilliant-distinctions-program/
vs
https://beautyblackbook.com/brilliant-distinctions-program/right category id – 389 (Injectables)
post 7337 – primary_categoryID 2163 (BOTOX ALTERNATIVES)
https://hidemyage.staging.wpengine.com/rt002-by-revance/Hope it helps.
As you see it’s getting 60-70% correct posts. I can live with that (even 60% is a way better than 0%, haha) but if you want to find out the culprit I will gladly assist with testing.
Forum: Plugins
In reply to: [Posts in Sidebar] Multiple Category orderCouldn’t paste everything here. Here is the rest with the results of testing:
https://pastebin.com/6hpgFVFKBest Regards,
AlexForum: Plugins
In reply to: [Posts in Sidebar] Multiple Category orderHi there,
Thank you very much for looking into it, I’ve tested the updated version.
It’s a way better now, however few posts from another categories still appear in the results.
I put ‘_yoast_wpseo_primary_category’ as a custom taxonomy key and custom taxonomy is the only checked option.
Forum: Plugins
In reply to: [WP-ShowHide] Can’t display ‘Show More’ link in line with previous contentSo I have some text paragraph, which is then followed by the [showhide section].
like this
Botox, Dysport and Xeomin are different brands, sure, but the important difference between them is their molecular make up.
[showhide type=”second” more_text=” (read more…)” less_text=”(show less…)”] Your HIDDEN TEXT [/showhide]And I’m applying the display:inline; to both the paragraph and the showhide link container (that long div).
I’ve then managed to apply it to all the showhide links by
div .sh-link, .sh-hide { display: inline; }
So now I’m just adding it to the <p> tag before the link.
like this
<p style=”display: inline;”>Botox, Dysport and Xeomin are different brands, sure, but the important difference between them is their molecular make up.</p>[showhide type=”second” more_text=” (read more…)” less_text=”(show less…)”] Your HIDDEN TEXT [/showhide]
For some reason sometimes wordpress adds an empty <p></p> before the showhide container. Then try putting the opening showhide shortcode within the <p> tags.
like here
…difference between them is their molecular make up.[showhide type=”second” more_text=” (read more…)” less_text=”(show less…)”]</p> Your HIDDEN TEXT [/showhide]
Forum: Plugins
In reply to: [Posts in Sidebar] Multiple Category orderSorry to bother you, but have you got a chance to check if the ID option is possible?
Thank you in advance
Forum: Plugins
In reply to: [Posts in Sidebar] Title vertical alignmentThat’s awesome, thank you very much! Worked like a charm.
Forum: Plugins
In reply to: [WP-ShowHide] Can’t display ‘Show More’ link in line with previous contentDid it by adding the {display: inline;} to div#second-link-7708.sh-link.second-link.sh-hide and the above <p> container.
But it would be nice to have an option to do that without messing with css.
Forum: Plugins
In reply to: [WP-ShowHide] Can’t display ‘Show More’ link in line with previous contentI have the same question, didn’t find a way to put it inline.
Forum: Plugins
In reply to: [Posts in Sidebar] Title vertical alignmentYes, I was trying to align them with the centerof the image but it seems to be no way to do that without parent div containers for each element. It works on the home page, where I’m pulling the exact 4 posts. But on the single posts it’s pulling different posts and I can’t apply same padding to all titles due to the differences in the length.
Thanks for the overflow though, didn’t know about it.
- This reply was modified 7 years, 10 months ago by morfe1.
Forum: Plugins
In reply to: [Posts in Sidebar] Multiple Category orderOh, that may help.
I’ve tried it on 7 posts and it worked perfect, but the problem is that I have about 200 posts and updating all of them with new custom field will take quite a lot of time.
ID option would be much better.
Thank you very much for looking into it!
Forum: Plugins
In reply to: [Posts in Sidebar] Multiple Category orderThanks for the explanation, now I understand the issue.
PS. I’m not a developer, it took me a long time to understand this stuff)Checked the array and it looks the way you described.
array(30) { [0]=> int(395) [1]=> int(615) [2]=> int(434) [3]=> int(394) }But I do use Yoast Seo Plugin and it has a feature – Primary Category. I’ve found where the ID is stored, but don’t know how to proceed further.
Is there a way I can change your plugin behaviour so, that in case of multiple categories it will get the category ID from the custom meta_key in wp_postmeta table?
e.g
6506, ‘_yoast_wpseo_primary_category’, ‘705’),Where the 1st value is post ID and the last is the category id I need the posts to be displayed from.
Forum: Plugins
In reply to: [SearchIQ - The Search Solution] Clickable Categories/Tags?Oh, it’s a pity, then I will just disable them for now. Thanks for the quick reply though.