• Hi there,

    I have been looking for a plugin that would list posts from one category and I finally found: CG-SameCat but it does not appear to work in WP2.1a A1 as it gives the following error when I activate it:

    Warning: main(/home/editor/public_html/news/wp-content/plugins/cg-plugins/cg-samecat.php): failed to open stream: No such file or directory in /home/public_html/news/wp-content/plugins/cg-samecat-plugin.php on line 18

    Warning: main(): Failed opening ‘/home/public_html/news/wp-content/plugins/cg-plugins/cg-samecat.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/editor/public_html/news/wp-content/plugins/cg-samecat-plugin.php on line 18

    Can this be fixed?

    All the best
    Karl

Viewing 5 replies - 1 through 5 (of 5 total)
  • either cg-plugins/cg-samecat.php doesn’t exist, or there’s a permissions problem… that’s my best guess.

    -d

    Thread Starter elyonline

    (@elyonline)

    Ah does that mean I have to load all plugins to get it working?

    Many thanks

    Well, you should have just uploaded the PowerPack all as one. You don’t need to activate the other plugins, and, in fact, the ‘plugin stubs’ that sit in /plugins don’t have to be there for unused plugins… But I generally recommend just putting everything up (doesn’t hurt runtime performance of the site).

    FYI, the reason I moved to a singular ‘pack’ is I have a bunch of helper libs that many/most of the plugins use, and packaging things up separate became a pain (duplicate files in each plugin..).

    HOWEVER, if you want to go the ‘minimalist’ route, the least you can get away with is have a cg-plugins subfolder in /plugins and upload cg-samecat.php AND helper_fns.php. I think you can make it with those two files (plus the samecat plugin file up in /plugins…).

    -d

    Thread Starter elyonline

    (@elyonline)

    David, that worked a treat as minimal. I have a page pulling in history posts and wanted a sub-menu to show those posts and your plugin was the only one I found that done this: https://www.elyonline.co.uk/archives/category/history/

    Thanks ??

    Great! Glad to know it worked for you.

    -d

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘CG-SameCat and 2.1a problem’ is closed to new replies.