fullworks
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Custom post type in own root folder?Hi,
Sorry, as you posted in ‘Developing with WordPress’ I assumed perhaps wrongly a level of developer knowledge.
The key question of mine was ‘Are you registering the CPT in your own code? ‘ if you are not then you will probably need to revert to the developer that is creating the CPT – is that in a plugin or theme?
yes hook to
save_post_{$post_type}
https://developer.www.ads-software.com/reference/hooks/save_post_post-post_type/
Forum: Fixing WordPress
In reply to: Cookie Compliance hostageFor free plugins
https://developer.www.ads-software.com/plugins/wordpress-org/detailed-plugin-guidelines/
Rule 11. Plugins should not hijack the admin dashboard. #
If it is a premium only plugin – well then there is nothing wp.org can do
Forum: Fixing WordPress
In reply to: Cookie Compliance hostageSlack – Making WordPress – #pluginreview
Forum: Installing WordPress
In reply to: install cms or copyIt is one way of doing it. Many developers create one ‘clean’ site with basic plugins installed and configured and then ‘duplicate’ it to the new site. There are actually several good plugin that make it easy and fast to clone.
I used to do this.
However since WP CLI matured I prefer to have a script that builds using WP CLI commands.
Forum: Fixing WordPress
In reply to: Cookie Compliance hostageGo to the wp-content/plugins folder and delete the subfolder relating to the plugin that will make sure it has gone ( copy it elsewhere if you still want it )
Forum: Developing with WordPress
In reply to: Advise on changing themesVery difficult to give suggestions without knowing the detail of what is theme specific and what is possibly third party.
Unfortunately often this bespoke functionality in themes often creates ‘theme lock in’ and so migration ends up being fairly manual.
Forum: Fixing WordPress
In reply to: 44 GB Error Log Is Bringing My Site To A StandstillYou can safely delete any error log or debug log if it is too big to open, it will just regenerate and then hopefully you can see what is actually getting logged and do something about it.
If you can’t delete it I’m sure your shared host support will be able to.
Forum: Fixing WordPress
In reply to: Images not loading. Shows message – Remote data could not be fetchedHTTP 403 means access is forbidden.
As it works for some, not others it does not sound like a generic permissions issue.
It could be a host thing blocking certain IP’s or security plugin that you are using.
If you have a security plugin, I would disable it and see if the problem goes, if so discuss this with the plugin support.
If it continues, I would raise this with your host.
Forum: Developing with WordPress
In reply to: Custom post type in own root folder?'rewrite' => array( 'slug' => 'case-studies', 'with_front' => true, 'pages' => true, 'feeds' => true, );
Forum: Developing with WordPress
In reply to: Custom post type in own root folder?Are you registering the CPT in your own code? In which case you can
control the slug
see https://developer.www.ads-software.com/reference/functions/register_post_type/'rewrite' (bool|array) Triggers the handling of rewrites for this post type. To prevent rewrite, set to false. Defaults to true, using $post_type as slug. To specify rewrite rules, an array can be passed with any of these keys: 'slug' (string) Customize the permastruct slug. Defaults to $post_type key.
Hi,
What you could do is use the function
do_shortcode()
https://developer.www.ads-software.com/reference/functions/do_shortcode/
in a custom template.
There may also be hooks or function in the plugin that generates the poll, but you would be best to ask the plugin developer directly ( especially as we have no idea what plugin you are using )
Alan
Forum: Fixing WordPress
In reply to: Can’t login to admin dashboardTry dashboard > settings > permalinks and
save
this resets links and often solves such issues. It wont do any harm to do this.Forum: Fixing WordPress
In reply to: Lightbox no longer workingIt isn’t jQuery rather an older version of jQuery and the migrate plugin adds a way of the older version working.
You could fixit, but would take effort that may not be warranted for a non critical site. So I wouldn’t worry too much.
Forum: Fixing WordPress
In reply to: Can’t login to admin dashboardHave you tried in your wp-config.php
define( 'WP_HOME', 'https://example.com' ); define( 'WP_SITEURL', 'https://example.com' );
see https://www.ads-software.com/support/article/changing-the-site-url/