Tag Info

New answers tagged

0

I had the same problem (works fine now), here is what i done instead of try to access to the admin panel whit yoursite.com/wp-admin i tried with yoursite.com/wp-login.php and it took me to the admin panel of my new site. Then I changed the site domain in general settings and now it works just fine.


0

This can be achieved by using the admin_url filter: function add_new_post_url( $url, $path, $blog_id ) { if ( $path == "post-new.php" ) { $path = "post-new.php?param=value"; } return $path; } add_filter( 'admin_url', 'add_new_post_url', 10, 3 );


0

What you want to do isn't possible from functions.php or a plugin. The code you have posted would need to replace code in your template files for the page displaying your images. If you can modify the template files, find where in your template generates your image HTML and then you can replace it with something similar to the code you have posted. It's ...


0

Perhaps this approach will work for you. I like to use PHP Code Widget, which is like a regular Text widget, but one that allows you to use Wordpress functions and other PHP in the body. Once you install that widget you could then use one of the Wordpress functions like get_page_link() or get_permalink() to dynamically retrieve the page link that you are ...


1

First of all, you are using $rinter as a number and at the same time as an URL for the anchor element. Secondly, the href attribute requires mentioning the protocol (http(s):// for example) in front of the domain or else it will just be relative to the current viewing address. ($rinter should be something like http://www.w3.org instead of just www.w3.org)


0

The option for setting the url to none using "Attachment Display Settings" is available through the gallery option, using "Add Media". How are you adding your images—through featured image or directly in your post/page? You can remove the my image if it's in the post itself. For featured images, you'll have to go into your template file and remove the link ...


1

You could use this search and replace tool: search and replace by interconnectit Apart from that you could put some redirects in your htaccess, but really the search and replace works great.


1

After having the same issue, I've come up with a basic solution - hopefully it's not too late for you. The Visual Composer "accordion plugin" seems to be a wrapper around the jQuery UI accordion; so the same methods are available. I've written some basic (room for improvement no doubt) code that checks if there is a hash on the end of the URL, and then ...



Top 50 recent answers are included