How do I refer to the /designs/ directory in a php file.
-
I’m using a plugin called bottom of every post to display some text at the bottom of my standard posts, however, the content is being inserted into my project posts as well.
To exclude the content from the homepage, for example, the plugin author suggested to change
if( !is_page( ) && file_exists( $fileName )){
to
if( !is_page( ) && !is_home( ) && file_exists( $fileName )){
so I’m trying to duplicate that with all posts that are made within the /designs/ directory.
Any ideas on how I can do that?
https://www.ads-software.com/extend/plugins/design-approval-system/
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘How do I refer to the /designs/ directory in a php file.’ is closed to new replies.