Useful Plugin Categories: FAQs

Arconix FAQ

Basic Details

Plugin Author(s): Tyche Softwares

Free Version?: Yes

Premium Version?: No

My Rating:

General Description & Notes

Fave for FAQs

Update on 2022-05-28: No longer a fave. It has been abandoned.

Hack to Add Permalink

At LCS70, I hacked the plugin as follows to add a permalink. arconix-faq/includes/class-arconix-faq-display.php

After line 250, add this:

		$html .= '<div class="arconix-faq-content' . $lo . '">' . apply_filters( 'the_content', get_the_content() );
		/* Jeff at 2021-08-20, 10:31:59 - Permalink */
		$html .= '<div class="arconix-faq-permalink"><a href="' . get_the_permalink() . '">Permalink</a></div>';
		$html .= $this->return_to_top( $link );

Problem: If/when the plugin is updated, the modifications go away.

A Better Way: Filter the the_title Hook

Did this on 5/28/2024 at LCS70:

function nwb_add_permalink_to_faq($title) {
	$page_id = '112';
	if ( ! is_page($page_id) ) return $title;
	if ( 'faq' != get_post_type() ) return $title;
	$link_text = 'View this FAQ by itself';
	return $title . ' | <span class="faq-permalink"><a href="' . 
	get_the_permalink() . 
	'">' . $link_text . '</a></span>';
}
add_filter( 'the_title', 'nwb_add_permalink_to_faq');

Line 3: I added this to prevent the page titles in the nav menu from having the appended content.

Pros

  1. Display flexibility
  2. Up to date as of 2/6/19
  3. With simple hack, I can add permalink to display faq standalone. See notes.

Notable Installations

  1. Eaton - I use groups for displaying on different pages.
  2. BeachCourt Villa -