Scholar Publications Fetcher

Descrição

Automatically showcase your academic work directly on your WordPress site. Scholar Publications Fetcher retrieves your publication list from Google Scholar and displays it in an elegant card layout that looks great on any device.

With a strong focus on performance and customization, this plugin is the perfect solution for academics, researchers, and professionals who want to maintain an up-to-date publication list without manual effort.

Key Features:

  • No API Key Needed: Fetches your public profile directly.
  • Performance Caching: Caches results using the WordPress Transients API to ensure your site loads fast. Cache duration is fully customizable.
  • Flexible Shortcode: Use powerful shortcode attributes to control the number of publications displayed (count), show/hide abstracts (show_abstract), and set cache duration (cache_hours).
  • Modern & Responsive Design: A clean, card-based layout that adapts perfectly to desktop, tablet, and mobile screens.
  • Automatic Dark Mode: Seamlessly adapts to the visitor’s system-level dark or light theme for a comfortable reading experience.
  • Easy to Customize: Built with CSS variables, making it simple to change colors and styles to match your theme.

Instalação

  1. Upload the scholar-publications-fetcher folder to the /wp-content/plugins/ directory.
  2. Activate Scholar Publications Fetcher through the ‘Plugins’ menu in WordPress.
  3. Place the shortcode on any page, post, or widget.

Basic Usage:
[schopufe_publications user_id=”YOUR_SCHOLAR_ID”]

Advanced Usage:
Show 10 publications, display their abstracts, and cache the results for 12 hours.
[schopufe_publications user_id=”YOUR_SCHOLAR_ID” count=”10″ show_abstract=”true” cache_hours=”12″]

FAQ

How many publications can I display?

You can display any number of publications using the count attribute in the shortcode. For example, count="15" will show the 15 most recent publications. By default, it shows 5.

Can I show the abstract for each publication?

Yes. Simply add the show_abstract="true" attribute to the shortcode. The plugin will then fetch and display the abstract for each publication shown.

How does the caching work?

To maximize performance, the plugin automatically caches the publication list for 6 hours. This means it only fetches data from Google Scholar once every 6 hours, not every time someone visits your page. You can change this duration with the cache_hours attribute. For example, cache_hours="24" will cache the data for a full day.

How do I customize the colors and style?

The easiest way is to use CSS variables. You can add custom CSS to your theme’s style.css or the Customizer to override the default colors. The main variables are:
* --spf-primary-color (links, buttons)
* --spf-secondary-color (abstract border)
* --spf-card-bg (card background)
* --spf-text-color (main text)

Avaliações

There are no reviews for this plugin.

Contribuidores e desenvolvedores

“Scholar Publications Fetcher” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.

Contribuidores

Registro de alterações

2.1.0

  • Enhancement: Refined CSS for better dark mode compatibility and contrast.
  • Fix: Improved mobile responsiveness, especially for metadata and smaller font sizes on narrow screens.

2.0.0

  • Major Refactor: The entire plugin has been rewritten using Object-Oriented Programming (OOP) for better structure and maintainability.
  • Feature: Implemented a robust caching system using the WordPress Transients API to drastically improve performance.
  • Feature: Enhanced the [schopufe_publications] shortcode with powerful new attributes: count, show_abstract, and cache_hours.
  • Enhancement: Completely redesigned the front-end display with a new, modern, and fully responsive CSS structure.
  • Enhancement: Updated plugin header to reflect new PHP and WordPress version requirements.

1.5.4

  • Minor CSS refinements and code comments.

1.0.0

  • Initial release.