• Hello,

    I am having trouble changing the AuthorRule so that it either doesn’t show an author at all or displays a constant variable (Company Name) versus the post author name. The rule I have been trying to adjust is:

    { 
    	"rules": 
    	[{
        	"class": "AuthorRule",
            "selector" : "span.author",
            "properties" : {
            	"author.name" : {
                	"type" : "string",
                    "selector" : "span"
                 }
             }
                
       	}
     ]
    }

    Does anyone have any advice or insight on how I can accomplish either hiding the author completely or setting a constant that I define?

    Thank you in advance,
    Donna

Viewing 2 replies - 1 through 2 (of 2 total)
  • you can always edit the template file /wp-content/plugins/fb-instant-articles/feed-template.php

    Thread Starter donnytree

    (@donnytree)

    Thanks @courtb. I don’t like to edit plugin files because then future updates break and it can become a maintenance nightmare. There must be another solution?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘remove author name or set constant’ is closed to new replies.