Hello,
I am using the Yada Wiki plugin to create a custom post type for wiki articles. While the plugin is working well overall, I am encountering an issue where the title of each wiki article does not display on the single post page.
I am wondering if this issue is related to my theme (I am using the Scientia theme) or if it is something that needs to be adjusted in the custom post type settings. I have checked my theme’s single.php
template file but I am unsure if I need to create a separate template like single-wiki.php
for the wiki post type to display the title.
Could you please advise me on how to ensure that the titles of my wiki articles are properly displayed?
Thank you for your help!
Best regards,
]]>When using the Wiki Link code, for example: [yadawiki link="Coffee and Tea" show="Hot Beverages" anchor="#jumptarget"]
, if I replace link="Coffee and Tea"
with link="ελληνικ? τ?τλο"
(a title in Greek), it doesn’t recognize title in Greek (it seems like it only works with English titles). It also doesn’t work when using the slug instead.
See the example below
https://liblivadia.gr/wiki/oi-tycheroi-ena-diigima-tis-nikis-blouti-karatzali/
It only shows red text instead of a clickable link (https://liblivadia.gr/wiki/blouti-karatzali-niki/).
Is there a way to make it recognize titles in the Greek language?
]]>Hi,
I’m having an issue with quotation marks in shortcode links.
I require some titles to be in quotation marks, basically like this:
[yadawiki link=”This Is a Title” show=””This Is a Title””]
Now I know there can be issues when it comes to quotation marks within quotation marks and mixing them in shortcodes.
So I tried this:
[yadawiki link=’This Is a Title’ show='”This Is a Title”‘]
And even this:
[yadawiki link=”This Is a Title” show=”‘This Is a Title'”]
However none of that is working, ‘show’ will be ignored entirely.
Is this a bug, and what would be the best way to achieve this in Yada Wiki? I would like to avoid using HTML in order to keep it user friendly.
Thanks much.
]]>Hi,
I inserted a tag cloud block and selected ‘wiki tags’ as its taxonomy. The tag cloud shows the tags correctly. However, when I click on a tag, it displays the pages with the regular tags in the search results, not the wiki tags. How can I change this?
Thanks
Pawel
]]>I’m enjoying using Yada Wiki plugin. Its simple to use and quite effective. Thank you for this plugin.
So far I have faced one problem that wiki links (cross-links to other wiki pages) don’t show up in the wiki page lists (categories and tags, such as <site>/wiki_cats/<cat-name> or <site>/wiki_tags/<tag-name>). Whenever there is a wiki link, it becomes null in the page lists. It could be that the listing function doesn’t render the wiki link shortcode. These links are seen on wiki pages, but not in the category and tag lists.
Is there is a fix for this? Or could this be accepted as a fix for a future release?
]]>I have been attempting to add a map from google maps to a wiki page. It does not show the map when I add the iframe shortcode provided by mymaps. Is there a limitation that is not allowing this to be added to wiki pages?
]]>Hi there, again, I’m here with another issue I’m facing
I’m trying to get 3 columns from this index output tag: (I want to get the categories like this example code code:)[yadawiki-index type="category-name" category="States" columns="3″]
It’s like I’m setting the columns option. I only get one column.
Greetings,
]]>Hi there,
As you all know, I love this plugins. Nonetheless, I’ve been having some issues lately.
I’m trying to use the “yadawiki-index” either with a category name or a category slug and in both cases it is not working as it should.
It only works with “all categories names”, as such:
[yadawiki-index type="all-categories-name" columns="3"]
I’ll bring you the example code I’m trying to use:
[yadawiki-index type="category-name" category="Biografías" columns="3"]
[yadawiki-index type="category-slug" category="Biografias" columns="1"]
Thanks for the help in advanced ??
]]>Happy New Year. Maybe I am asking a stupid question. I am just trying to figure out how this plugin works. Now, my theme (a free Hello theme) has customization option. You select your Homepage, which can be your latest posts or a static page. Is it possible to make Yada wiki page somehow the homepage. My theme doesn’t give me such an option because it doesn’t treat Wiki pages as ordinary pages. I understand that I can have an ordinary WordPress Home page and on it put a link to the Wiki section of the website. Thank you for your help or any ideas.
]]>Hello! I’m absolutely in love with this plugin!
So much so that I’ve decided to make my own custom code to make your wordpress wiki more “wiki-like” ??
Any serious wiki needs to have references and that’s exactly what this code does! It creates two shortcodes for you to use:
1. The first shortcode is [ref][/ref] which creates a superscripted number that links to its corresponding item on the reference list. Example: [ref]This is a reference[/ref] -> a [1] will show up next to the text in the front-end, clicking on it will scroll the page to its corresponding item in the reference list.
2. The second shortcode is [reflist]. Contrary to all of the plugins I tested, which are really strict with the placement of their footnotes, this baby right here enables you to insert the reference list anywhere you want on the page! Just simply plop down the [reflist] shortcode and watch it grow as more and more references are added! Each item on the list also has “↑” before it. Clicking it will bring you back up to it’s corresponding reference on the article! Cool, right?
Here’s the code:
// Initialize global variable and counter to hold the references
$wiki_references = array();
$reference_counter = 0;
// Shortcode for the references
function wiki_ref_shortcode($atts, $content = null) {
global $wiki_references, $reference_counter;
// Increment the reference counter
$reference_counter++;
// Generate a unique identifier for this reference
$reference_id = 'ref_' . $reference_counter;
// Add the reference content to the global variable
$wiki_references[$reference_id] = $content;
// Generate a link to the reference list item
$reference_link = '<a href="#reflist_' . $reference_counter . '">[' . $reference_counter . ']</a>';
return '<sup><span id="' . $reference_id . '">' . $reference_link . '</span></sup>';
}
add_shortcode('ref', 'wiki_ref_shortcode');
// Shortcode for the reference list
function wiki_ref_list_shortcode() {
global $wiki_references;
if (empty($wiki_references)) {
return 'No references found.';
}
$output = '<ol>';
foreach ($wiki_references as $reference_id => $reference) {
$output .= '<li id="reflist_' . substr($reference_id, 4) . '"><a href="#' . $reference_id . '">↑</a> ' . $reference . '</li>';
}
$output .= '</ol>';
return $output;
}
add_shortcode('reflist', 'wiki_ref_list_shortcode');
Just copy/paste the code into your theme’s/child theme’s functions.php and that’s it!
If you want even MORE wiki like functionality for the links though, I’ve also altered the code and added some CSS so the links also display a tooltip containing the reference text on hover.
PHP Code:
// Initialize global variable and counter to hold the references
$wiki_references = array();
$reference_counter = 0;
// Shortcode for the references
function wiki_ref_shortcode($atts, $content = null) {
global $wiki_references, $reference_counter;
// Increment the reference counter
$reference_counter++;
// Generate a unique identifier for this reference
$reference_id = 'ref_' . $reference_counter;
// Add the reference content to the global variable
$wiki_references[$reference_id] = $content;
// Generate a link to the reference list item with a data attribute for the tooltip content
$reference_link = '<sup><a href="#reflist_' . $reference_counter . '">[' . $reference_counter . ']</a></sup>';
return '<span class="custom-ref-wrapper"><span id="' . $reference_id . '">' . $reference_link . '</span><span class="custom-tooltip">' . $content . '</span></span>';
}
add_shortcode('ref', 'wiki_ref_shortcode');
// Shortcode for the reference list
function wiki_ref_list_shortcode() {
global $wiki_references;
if (empty($wiki_references)) {
return 'No references found.';
}
$output = '<ol>';
foreach ($wiki_references as $reference_id => $reference) {
$output .= '<li id="reflist_' . substr($reference_id, 4) . '"><a href="#' . $reference_id . '">↑</a> ' . $reference . '</li>';
}
$output .= '</ol>';
return $output;
}
add_shortcode('reflist', 'wiki_ref_list_shortcode');
Now add the following to your custom CSS:
/* Custom Tooltip Styles */
.custom-ref-wrapper {
position: relative;
cursor: pointer;
}
.custom-tooltip {
display: none;
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
opacity: 0;
visibility: hidden;
padding: 5px;
width: 500px; /* Adjust the width as needed */
background-color: #f9f9f9;
border: 1px solid #ccc;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
white-space: normal; /* Allow text to wrap */
z-index: 123;
}
.custom-ref-wrapper:hover .custom-tooltip {
display: block;
opacity: 1;
visibility: visible;
}
Note that I used 500px as the width, but you can use any value that’s best for you! Also the z-index is a random number because I just want the tooltips to show up above everything else, you can also change it to whatever you see fit ??
Feel free to test it out yourself! And I hope this helps!
Much love!
Hello!
First time using this plugin, since it looks really nice and simple, but I’d like to know how to customize the default page for the /wiki directory, as it only displays the wiki pages and nothing else at the moment.
I want to it to show a standard page welcoming users to the wiki like this: https://sonic-city.net/wiki/sonic-the-hedgehog-wiki/
Also, I’d like to know, is it possible for logged out users to make edits/new pages or do you have to be logged in?
Thanks in advance!
I’d like to make some batch changes to my wiki pages, like filtering by a keyword in the content and a wiki tag and exclude certain terms. Do you have a recommendation how to do this?
]]>I don’t remember how I did it, but I gave all my wiki pages a default featured image a few months ago. Is there a function in Yada Wiki that does that? I want to change it and can’t figure out how.
]]>We’ve been running the now-long-orphaned WPMU Wiki Pro plugin. Has anyone successfully migrated wiki content from that to Yada without a manual copy/paste of individual entries?
]]>Within the Yada Wiki settings you can set a custom wiki slug for permalinks. The default is “wiki”, and all pages are listed under “wiki/page”.
When visiting the base “wiki” URL (i.e. https://wpsite.com/wiki/), it displays a list of Archives. Is there a way to override this? I’d ideally like the base to instead display the TOC or another WordPress page.
I’m familiar with coding and can make changes to functions if necessary. Thanks!
]]>I’m trying to batch change a bunch of wiki pages from published to draft. I select, then choose edit just like any other post list, and I get the selected entries. Change status to Draft. <Submit> Nothing. <Submit> Nothing. The submit button isn’t working. Any help?
]]>I am using Thrive Theme Builder and I have successfully created a template for my Yada Wiki pages, which have a sidebar on the right. In the sidebar, I have a text element with the TOC shortcode as its only content.
Up until now, I have used the Gutenberg editor to add post (wiki) content because the menu has the shortcode buttons which is more convenient than typing them in. Both my content and the sidebar (with my Wiki’s TOC listing) work great.
Yesterday however, I wanted to create a more complex page with images and so on, so I used Thrive Architect, which is Thrive’s page builder/editor. My content looks fine, but in the sidebar, where the TOC should be, my post content is duplicated instead. And since it’s wider than the sidebar, it bleeds all over the content (although that’s not really the issue, since that wouldn’t happen if it was appropriately displaying the actual TOC).
I opened a support ticket with the Thrive folks who are very helpful, but in this case, they just said that it appears to be a conflict between Yada Wiki and Thrive Architect and to see if you folks can perhaps help figure it out.
I hope you have a solution, because I love the plugin and I also love Thrive Architect and its ability to let me fine-tune the look of my pages. Thanks!
]]>Hi David,
First off, thanks for creating and offering the Yada Wiki plugin.
I am trying to use it to setup a knowledge capture and knowledge sharing system that facilitates learning.
However, I want to “templatise” the new Wiki page that the user may create (after they click on the shortcode add wiki link). The idea is to show a preset structure/outline in the editor box (with H1, H2 elements) when the Add New Wiki Page is invoked. This is to make it intuitive for the user to start filling info (rather than giving them a blank editor box)
Would this be a possibility? and if so I’d seek your advice and direction on how to go about implementing it.
Regards,
Azhar.
Hi, I use a normal editor (no Gutemberg) the code column that would appears near the media buttom dont show up.
Thaks for helping, Leo
]]>Hi David!
When i go to the Wikipedia, the first thing i normally do is to use the search field. Later i mostly follw the links, but that’s the first step. So a search field would be fine.
In the backend you realized this with the wiki link button in the editor. It does exactly what i want: searching the wiki post titles for the typed string. So the logic already exists in Yada Wiki.
Is it possible to make something like that work also on the frontend? A widget with a search field or just a button which activates a popup?
Or is there already a way i overlooked?
Best regards,
Ruediger
]]>Is there a way to migrate the wiki to another website – just the wiki, nothing else?
My problem is: The wiki pages contains > 10.000 pictures (historical document scans) and it’s now running out of space. So I want to migrate to a bigger webspace. The idea is to copy all the document uploads via ftp, so I just have to copy the wiki pages to the other site and correct the domain name of all links.
Any idea?
]]>Hi,
I would like to have the wiki pages follow a fullwidth template, the same way I am able to do with pages under the template bar. How would I be able to accomplish this?
]]>hello, first of all, wonderful plugin. very easy to use.
I have a question, is it possible to have the wiki specific widgets only on the wiki section? they appear at the moment on every page. I have only a small section that is wiki and would be great if it was only in the wiki section.
]]>We’re having an issue where all of the authors are showing up as Founder & CEO – this information is not in the profile of any of these user.
]]>Hi, I want to add a plugin like this to a website I create content for at work, but I need to confirm that the plugin won’t break our accessibility measures.
Has Yada Wiki been tested against WCAG 2.0 standards?
Thank you.
]]>Dear David,
First of all thanks for the wonderful plugin.
Here’s my problem:
Is there a way to use yada-wiki categories in wordpress posts ?
So I am using the “Yada Wiki Listing”-Tool for indexing all categories by name.
I want the user to navigate through the wiki links for seeing all the posts in a certain wiki category, but I do not find a way in connecting a normal post with a wiki category.
Thank you for your time!
have a great day
Hi,
If you look at the main menu, on the homepage, you can see the wiki menu option. It then has some default text “A Wiki custom post type” directly underneath the ‘wiki’ menu. How do I remove this text please?
Many thanks,
James
First, the plugin you suggested to transfer categories from pages into wiki pages worked. So many thanks.
Now I’d like a wiki article index page, where the categories are listed with the hierarchy intact, and for each category (or sub category) there’s a list of article titles. I’ve tried four or five different plugins that create category lists or tables of contents or something similar, but no matter how I experiment with the short code, I get nothing. This probably has to do (I’m guessing) with the fact that I need to signal that these are wiki categories and pages, but nowhere in the document pages have I found any info on this.
If you could point me to a plugin that will create an index of all wiki pages/articles sorted by category (and without too many bells and whistles if possible) I would very much appreciate that help. Thank you.
]]>I have not found information if Yada Wiki supports any type of Citation. I think that aspect is among the most important features of the MediaWiki system and of any serious Wiki.
I myself want to migrate from MediaWiki to WordPress because the maintenance of MediaWiki for a low amount of pages is not feasible.
First, I was ecstatic when I found this wiki. Thank you. Second, I wish I had found it sooner, because I think I’d have few questions now.
1. I have a pretty complex category setup for pages. With considerable effort I changed all pages to wiki pages, where, I discovered, the categories do not carry over. Is there a way to get page categories to populate the wiki category slots? She said hopefully.
2. Pages don’t show categories, this is true. But is there a way to show categories on the wiki pages? After so much drama creating the category structure, I would like to be able to utilize it.
3. It’s unlikely that could change themes at this point, but is there a theme that works particularly well with your plugin? Out of curiosity.
4. If you had a tip jar I would make use of it.
]]>