Forums

WP-O-Matic Post Title Links to Source (3 posts)

  1. audiosq
    Member
    Posted 2 years ago #

    I set the option in wp-o-matic to Post Title Links to Source and it doesn't actually do it. Any ideas?

  2. Chris
    Member
    Posted 1 year ago #

    Search wpomatic.php for add_action('the_permalink', array(&$this, 'filterPermalink')); and change it to add_filter('the_permalink', array(&$this, 'filterPermalink'));

    Chris

  3. elizabethcb
    Member
    Posted 1 year ago #

    Actually, add_action runs add_filter in WPMU trunk wp-includes/plugin.php:

    271  function add_action($tag, $function_to_add, $priority = 10, $accepted_args = 1) {
     272      return add_filter($tag, $function_to_add, $priority, $accepted_args);
     273  }

    lines 324-326 for WordPress trunk.

    So that won't do anything.

    It's a pretty straight forward action, but it does depend on being inside "The Loop".

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags