This Help forum is for issues relates to the latest release (1.7.10/11/12). For issues related to development versions please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here."

TOPIC: [SOLVED] webtrees WordPress Plugin - Shortcodes

webtrees WordPress Plugin - Shortcodes 3 months 2 days ago #1

  • ChrisAndersen
  • ChrisAndersen's Avatar
  • Offline
  • New
  • Greetings from Århus, Denmark
  • Posts: 34
Hi there... totally new here,
hoping I'm not touching a holy cow... ;-)

...are there any plans for a WordPress plugin?
If not... are there shortcodes for Webtrees' database I can use for integrating webtrees in a WordPress website?
genroot.me
================
(wt 1.7.12 | php 7.2.13)
Last Edit: 3 months 2 days ago by ChrisAndersen.
The administrator has disabled public write access.

webtrees WordPress Plugin - Shortcodes 3 months 2 days ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10909
I'm not aware of anything.

I'm afraid I have no knowledge of wordpress plugins, so can't help.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

webtrees WordPress Plugin - Shortcodes 3 months 2 days ago #3

  • ChrisAndersen
  • ChrisAndersen's Avatar
  • Offline
  • New
  • Greetings from Århus, Denmark
  • Posts: 34
thanks for your answer :-)

do you think it is possible to integrate webtrees contents into a WordPress website? ... like a database request published on the WordPress website?
As I understood webtrees has a kind of database architecture which is not so far away from the database structure of WordPress.

Within WordPress people often use shortcodes to make database requests.
Is there anything like that possible with Webtrees? Just to post webtrees contents into WordPress websites?
genroot.me
================
(wt 1.7.12 | php 7.2.13)
The administrator has disabled public write access.

webtrees WordPress Plugin - Shortcodes 3 months 2 days ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10909
Some of the code in webtrees dates back to 2006. As a result, I am in the middle of a major update to refactor the code - untangling the "spaghetti" and applying modern designs.

When complete, the v2.0 code will definitely make it possible to write plugins and integrations for other platforms.

However, I know nothing about wordpress, and don't have the time to find out.

At the very least, however, webtrees 1.7 lets you put custom content into "HTML blocks", and these blocks can easily be incorporated into other sites via HTTP requests.

"integrate" is a vague term that can mean pretty much anything. You need to find a willing software developer and decide what exactly you need.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

webtrees WordPress Plugin - Shortcodes 3 months 1 day ago #5

  • Tel
  • Tel's Avatar
  • Offline
  • New
  • Posts: 46
ChrisAndersen wrote:
...are there any plans for a WordPress plugin?
If not... are there shortcodes for Webtrees' database I can use for integrating webtrees in a WordPress website?

Shortcodes are a Wordpress feature, so no. You'd need to ask the Wordpress community / plugin developers.
Terry
running webtrees 1.7.11 at mynorfolkancestors.net
on PHP 7.2, MySQL 5.6.
The administrator has disabled public write access.

webtrees WordPress Plugin - Shortcodes 3 months 7 hours ago #6

  • ChrisAndersen
  • ChrisAndersen's Avatar
  • Offline
  • New
  • Greetings from Århus, Denmark
  • Posts: 34
Thx for the help. There are only a few WordPress plugins concerning gedcom on a low level in comparison to Webtrees.
I could imagine that the most genealogy sites worldwide are using WordPress as content management system.
As WordPress is the most used CMS worldwide, wouldn't it be logical to combine Webtrees with WordPress through a WordPress plugin or WordPress theme?
genroot.me
================
(wt 1.7.12 | php 7.2.13)
Last Edit: 3 months 7 hours ago by ChrisAndersen.
The administrator has disabled public write access.

webtrees WordPress Plugin - Shortcodes 3 months 4 hours ago #7

  • kiwi
  • kiwi's Avatar
  • Offline
  • Platinum
  • Posts: 4934
ChrisAndersen wrote:
Thx for the help. There are only a few WordPress plugins concerning gedcom on a low level in comparison to Webtrees.
I could imagine that the most genealogy sites worldwide are using WordPress as content management system.
As WordPress is the most used CMS worldwide, wouldn't it be logical to combine webtrees with WordPress through a WordPress plugin or WordPress theme?

I suspect your imagination “might” be wrong! But more importantly WP is also the worlds most hacked CMS in the world by a very large margin. (sucuri.net/reports/2017-hacked-website-report ). In my experience, outside of webtrees/kiwitrees/phpgedview the majority of family historians use the big data companies (Ancestry, FindMyPast, MyHeritage etc) or keep their data off the web completely. Family history commonly contains a lot of personal data, including about living relatives. I don’t know about you, but I’d be uncomfortable trusting my carefully researched “life’s-work” and my relatives personal information to such a risk as WP carries. A great CMS for many things (I use it extensively myself for non-genealogy data purposes) but inherently hackable.

Blogging about family history is another issue completely, and there you would be right that WP is popular. But not the same risk profile at all.
Nigel

www.our-families.info

Hosted at:
Follow me at:
The administrator has disabled public write access.

webtrees WordPress Plugin - Shortcodes 2 months 4 weeks ago #8

  • Tel
  • Tel's Avatar
  • Offline
  • New
  • Posts: 46
ChrisAndersen wrote:
Thx for the help. There are only a few WordPress plugins concerning gedcom on a low level in comparison to Webtrees.
I could imagine that the most genealogy sites worldwide are using WordPress as content management system.
As WordPress is the most used CMS worldwide, wouldn't it be logical to combine webtrees with WordPress through a WordPress plugin or WordPress theme?

The underlying database structure and functionality of webtrees and Wordpress are fundamentally different so it's not really practical. It depends what you want to achieve but as Kiwi says if blogging about family history is your primary interest you could use WP for your main site and then add webtrees under a subdirectory / subdomain, or visa-versa e.g. chrisanderson.com/familyhistory or chrisanderson.com/blog
Terry
running webtrees 1.7.11 at mynorfolkancestors.net
on PHP 7.2, MySQL 5.6.
The administrator has disabled public write access.
Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

webtrees WordPress Plugin - Shortcodes 2 months 4 weeks ago #9

  • ChrisAndersen
  • ChrisAndersen's Avatar
  • Offline
  • New
  • Greetings from Århus, Denmark
  • Posts: 34
@kiwi ...understand ;-)
...and I like your page.

@tel ...any pros and cons concerning subdomain and subdirectory?
... also like your page.
genroot.me
================
(wt 1.7.12 | php 7.2.13)
Last Edit: 2 months 4 weeks ago by ChrisAndersen.
The administrator has disabled public write access.

webtrees WordPress Plugin - Shortcodes 2 months 3 weeks ago #10

  • Tel
  • Tel's Avatar
  • Offline
  • New
  • Posts: 46
ChrisAndersen wrote:
...any pros and cons concerning subdomain and subdirectory?

Either should be fine. There's plenty of discussion on the topic online e.g. around effect on SEO (Google say it has little effect in most cases). I think it comes down to personal preference, although I think subdirectory provides a more straighforward and unified user experience as well as simplifying web analytics reporting, if you use Google Analytics for example.
Terry
running webtrees 1.7.11 at mynorfolkancestors.net
on PHP 7.2, MySQL 5.6.
Last Edit: 2 months 3 weeks ago by Tel. Reason: Added comment re web analytics tracking
The administrator has disabled public write access.

webtrees WordPress Plugin - Shortcodes 2 months 3 weeks ago #11

  • ChrisAndersen
  • ChrisAndersen's Avatar
  • Offline
  • New
  • Greetings from Århus, Denmark
  • Posts: 34
@tel
I think subdirectory provides a more straighforward and unified user experience as well as simplifying web analytics reporting
Don't you need 2 different GA profiles, then? ...or do you take the same GA code for both?
Why do you think so specifically?
genroot.me
================
(wt 1.7.12 | php 7.2.13)
The administrator has disabled public write access.

[SOLVED] webtrees WordPress Plugin - Shortcodes 2 months 2 weeks ago #12

  • ChrisAndersen
  • ChrisAndersen's Avatar
  • Offline
  • New
  • Greetings from Århus, Denmark
  • Posts: 34
Problem solved.
genroot.me
================
(wt 1.7.12 | php 7.2.13)
The administrator has disabled public write access.
Powered by Kunena Forum