NewTqnia News Widget

Description

NewTqnia News Widget displays a responsive technology-news feed from NewTqnia. It supports the block editor, the classic Widgets screen, and the [newtqnia_widget] shortcode.

Customization includes:

  • One to twelve articles.
  • English or Arabic, including right-to-left output.
  • Cards, list, or compact presentation.
  • Horizontal (default) or vertical orientation.
  • Automatic, light, or dark theme.
  • Custom accent color and heading.
  • Latest or popular ordering.
  • Optional category slug.
  • Image and summary visibility controls.
  • Optional NewTqnia credit link, disabled by default.
  • Optional anonymous aggregate usage sharing, disabled by default.

The renderer uses Shadow DOM, which isolates the news presentation from the active WordPress theme. Horizontal is the default and matches the existing NewTqnia embed behavior.

External service

This plugin requires the NewTqnia service to operate. When a page containing the widget is viewed, the visitor’s browser:

  • Runs the human-readable widget renderer included in this plugin.
  • Requests published news and article images from https://newtqnia.com when a page containing the widget is viewed.
  • When the optional usage-sharing setting is enabled, sends the embedding site’s origin and page path, excluding its query string and fragment, for installation and anonymous aggregate impression/click measurement.

Usage sharing is disabled by default in this WordPress plugin. The widget does not load Google Analytics on the WordPress site. When a site owner enables usage sharing, NewTqnia stores aggregate widget usage by embedding website. Review the service documentation before activating or placing the widget:

  • Service: https://newtqnia.com/en/widget
  • Privacy policy: https://newtqnia.com/en/privacy
  • Terms of use: https://newtqnia.com/en/terms

The plugin does not download or execute code from NewTqnia or another external source. By installing and configuring this plugin, you choose to connect pages containing the widget to the documented news service. Site owners remain responsible for any notice or consent required by their applicable law.

Blocks

This plugin provides 1 block.

  • NewTqnia News Customizable English or Arabic technology news from NewTqnia.

Installation

  1. Upload the newtqnia-news-widget folder to /wp-content/plugins/, or install the ZIP through Plugins > Add New > Upload Plugin.
  2. Activate NewTqnia News Widget.
  3. Add the “NewTqnia News” block, add the classic widget, or use [newtqnia_widget].
  4. Optional global defaults are available under Settings > NewTqnia Widget.

FAQ

How do I use the shortcode?

Use [newtqnia_widget] for the defaults. Every option can be overridden:

[newtqnia_widget count="6" locale="ar" layout="cards" orientation="vertical" theme="dark" accent="#03c0f9" order="latest" category="ai" show_image="true" show_summary="true" show_credit="false" tracking="false" heading="أخبار التقنية"]

Does the plugin store personal data in WordPress?

No. The plugin stores only global display defaults in the WordPress options table. The external-service disclosure above explains browser requests made when the widget is displayed.

Why does the editor show a placeholder?

The placeholder prevents remote scripts and telemetry from loading inside the administration area. The live feed is rendered on the published page.

Will the widget inherit styles from my theme?

No. The renderer uses a Web Component with Shadow DOM to isolate its presentation.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“NewTqnia News Widget” is open source software. The following people have contributed to this plugin.

Contributors

Translate “NewTqnia News Widget” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

  • Initial release.
  • Added block editor, classic widget, and shortcode placement.
  • Added complete content and appearance controls.
  • Added horizontal and vertical orientations, with horizontal as the default.