admin管理员组文章数量:1025259
I've had my wordpress page hosted in a free host. This host added some code in exchange of the free service, like two links to their free and paid services webpages into my Meta
widget.
For me it was ok at that time, but finally I moved my page to a VPS. I exported everything with All-in-One WP Migration
widget, and imported it in the new host.
So the problem is that these links from my previous free host have appeared again in my Meta
widget in the new host, due to the import that I've performed.
So basically, how can I remove them? How can I edit the Meta widget? I've tried to do it from the Desktop but I found no way to do it, so I guess it should be done directly modifying the file of the plugin... but I don't know which one it is.
I've had my wordpress page hosted in a free host. This host added some code in exchange of the free service, like two links to their free and paid services webpages into my Meta
widget.
For me it was ok at that time, but finally I moved my page to a VPS. I exported everything with All-in-One WP Migration
widget, and imported it in the new host.
So the problem is that these links from my previous free host have appeared again in my Meta
widget in the new host, due to the import that I've performed.
So basically, how can I remove them? How can I edit the Meta widget? I've tried to do it from the Desktop but I found no way to do it, so I guess it should be done directly modifying the file of the plugin... but I don't know which one it is.
Share Improve this question asked Apr 7, 2019 at 22:19 Btc SourcesBtc Sources 1031 silver badge4 bronze badges 5 |1 Answer
Reset to default 1There are 2 things you can do here. If you do not want to touch the source code, install any meta widget plugin editor (example - https://wordpress/plugins/custom-meta-widget/) and make required changes.
If you can access your code, then look for default-widget.php file, find the lines where you have the unnecessary links, delete them and save the file. Please keep a backup copy of the file before you try this.
I've had my wordpress page hosted in a free host. This host added some code in exchange of the free service, like two links to their free and paid services webpages into my Meta
widget.
For me it was ok at that time, but finally I moved my page to a VPS. I exported everything with All-in-One WP Migration
widget, and imported it in the new host.
So the problem is that these links from my previous free host have appeared again in my Meta
widget in the new host, due to the import that I've performed.
So basically, how can I remove them? How can I edit the Meta widget? I've tried to do it from the Desktop but I found no way to do it, so I guess it should be done directly modifying the file of the plugin... but I don't know which one it is.
I've had my wordpress page hosted in a free host. This host added some code in exchange of the free service, like two links to their free and paid services webpages into my Meta
widget.
For me it was ok at that time, but finally I moved my page to a VPS. I exported everything with All-in-One WP Migration
widget, and imported it in the new host.
So the problem is that these links from my previous free host have appeared again in my Meta
widget in the new host, due to the import that I've performed.
So basically, how can I remove them? How can I edit the Meta widget? I've tried to do it from the Desktop but I found no way to do it, so I guess it should be done directly modifying the file of the plugin... but I don't know which one it is.
Share Improve this question asked Apr 7, 2019 at 22:19 Btc SourcesBtc Sources 1031 silver badge4 bronze badges 5- Why don't you just use a text widget instead? – Howard E Commented Apr 8, 2019 at 0:27
- A screenshot or link would be helpful. – Karun Commented Apr 8, 2019 at 3:53
- @HowardE because this is not the only thing that the previous hosting changed inside the code of wordpress, it has also some other modifications, and I would like to purge them all – Btc Sources Commented Apr 8, 2019 at 6:59
- @Karun www.btcsources.es – Btc Sources Commented Apr 8, 2019 at 7:00
-
There could be a plugin or function in your theme that has hooked into
wp_meta
. Look foradd_action
which has triggeredwp_meta
. Start with your theme function files. – Karun Commented Apr 8, 2019 at 7:13
1 Answer
Reset to default 1There are 2 things you can do here. If you do not want to touch the source code, install any meta widget plugin editor (example - https://wordpress/plugins/custom-meta-widget/) and make required changes.
If you can access your code, then look for default-widget.php file, find the lines where you have the unnecessary links, delete them and save the file. Please keep a backup copy of the file before you try this.
本文标签: Remove links from meta widget
版权声明:本文标题:Remove links from meta widget 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745616572a2159327.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
wp_meta
. Look foradd_action
which has triggeredwp_meta
. Start with your theme function files. – Karun Commented Apr 8, 2019 at 7:13