Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

Channel Widget for telegram

Skildring

What the plugin can do ?

As you know, Telegram has added the ability to display channel posts on the web using EMBED Code.

Based on this feature, I decided to build this plugin That allows you to display all your channel content in a beautiful widget
similar to the Telegram App easily, and by activating the post updater bot on your channel, you will automatically have
the most recent channel content in your site widget.

Note : You can display any channel’s post on your WordPress site when you enter last post link of a channel in the plugin’s Setting !
but if you need to Connect widget to your channel and automatically show all new posts of your channel on TGchannel widget ,
you should add @TGCH_BOT to your telegram channel as admin.
this bot will refresh widget posts when a new post published in telegram channel.

Skjermbilete

  • Show your Channel in sidebar using TGchannel widget. (screen-1.png)
  • Show your Channel in pages/posts using shortcode. (screen-2.png)
  • TGchannel Setting. (screen-3.png)
  • TGchannel Widget. (screen-4.png)

Installasjon

  1. Install the TGchannel plugin either via the WordPress plugin directory, or by uploading the files to your web server (in the /wp-content/plugins/ directory).

  2. Activate the TGchannel plugin through the «Plugins» menu in WordPress.

  3. Navigate to the «TGchannel» settings page to obtain your channel link and configure your settings.

  4. Use the shortcode [tgchannel] in your page, post or widget to display your Telegram Channel.

Vanlege spm.

How can i use it?

Go to target channel in telegram , then right click on last post , and choose Copy Post Link, paste the coppied link to last post link field in TGchannel’s Setting and click on Validation.

If you desire to have the newest posts from your Telegram channel on TGchannel Widget , add «@TGCH_BOT» to your Telegram channel as admin and then click on Active TGCH_BOT .

click on Save changes button .

Copy and paste the following shortcode directly into the page, post or widget where you’d like your channel to show up :

[tgchannel]

also you can use TGchannel Widget that already exists on Appearance->widgets !

Omtalar

17. februar 2018 3 replies
It works as described and very easy to configure Telegram connection. However, styling it is not easy – had to deactivate because couldn’t make it fit into a sidebar.
Les alle 4 omtalar

Bidragsytarar og utviklarar

“Channel Widget for telegram” is open source software. The following people have contributed to this plugin.

Contributors

“Channel Widget for telegram” er omsett til 1 språk. Takk til omsetjarane for bidraga deira.

Omset “Channel Widget for telegram” til ditt eige språk.

Interested in development?

Les kjeldekoden, sjekk SVN-lageret eller abonner på utviklingsloggen med RSS.

Endringslogg

0.1

Launched the TGchannel plugin!

0.2

An option page to customize styles and widget’s size has ben added.