Title: nima1's Replies | WordPress.org

---

# nima1

  [  ](https://wordpress.org/support/users/nima1/)

 *   [Profile](https://wordpress.org/support/users/nima1/)
 *   [Topics Started](https://wordpress.org/support/users/nima1/topics/)
 *   [Replies Created](https://wordpress.org/support/users/nima1/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/nima1/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/nima1/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/nima1/engagements/)
 *   [Favorites](https://wordpress.org/support/users/nima1/favorites/)

 Search replies:

## Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Post to PDF Enhanced] Presentation Options (PDF icon appearance)](https://wordpress.org/support/topic/presentation-options-pdf-icon-appearance/)
 *  Thread Starter [nima1](https://wordpress.org/support/users/nima1/)
 * (@nima1)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/presentation-options-pdf-icon-appearance/#post-4689298)
 * Hello,
 * sorry, I do not understand this. The complete topic is related to the predefined
   link generated by the plugin. The only thing I suggest is to remove the link 
   and only output the input of the options field.
 * So instead of the stated link only the options field $this->options[‘imageIcon’]
   is shown when the option is set to “manual” (not in every cases). In this case
   the PHP tag has to included as known.
 * In this input field the user can paste (or it is set by defaut) also the link.
 * Example:
    `<a href="?format=pdf">Image or Text or HTML or whatever</a>`
 * In some cases it is better to state the full link, but this is possible for example
   with a place holder which is replaced with PHP when the Input field is shown:
 * `<a href="#pagelink#?format=pdf">Image or Text or HTML or whatever</a>`
 * At the moment it is not possible for HTML. Is it more clear now?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Post to PDF Enhanced] Presentation Options (PDF icon appearance)](https://wordpress.org/support/topic/presentation-options-pdf-icon-appearance/)
 *  Thread Starter [nima1](https://wordpress.org/support/users/nima1/)
 * (@nima1)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/presentation-options-pdf-icon-appearance/#post-4689258)
 * Hello,
 * I am not sure why the link is related to PHP. The only thing to do is to copy
   the link with the url parameter ?format=pdf also in the options box, then everybody
   can style individual for every requirement. No PHP is necessary in this part.
 * This is also the way I have modified at the moment, I removed the link from PHP
   code and only output the image options field, this is all.
    A further way should
   be that it leaves as it is but when “manual“ is choosed it will be included as
   described.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Post to PDF Enhanced] Presentation Options (PDF icon appearance)](https://wordpress.org/support/topic/presentation-options-pdf-icon-appearance/)
 *  Thread Starter [nima1](https://wordpress.org/support/users/nima1/)
 * (@nima1)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/presentation-options-pdf-icon-appearance/#post-4689216)
 * Hello,
 * the main advantage is, that it s a more individual display option. When you only
   show the icon on special pages you can enter some specific html code to display.
 * In the actual case some divs are insert but the problem is now, that the complete
   html is inside the link. As the link is only a url parameter I think it should
   be a good option also to paste the link into the options fiel.
 * Is it more clear now?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Post to PDF Enhanced] Presentation Options (PDF icon appearance)](https://wordpress.org/support/topic/presentation-options-pdf-icon-appearance/)
 *  Thread Starter [nima1](https://wordpress.org/support/users/nima1/)
 * (@nima1)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/presentation-options-pdf-icon-appearance/#post-4689205)
 * Hello,
 * sorry, but I think we are speaking about different topics.
 * I mean the presentation options in the wordpress backend menu. It is possible
   to automatically integrate the PDF generation link in all content pages.
 * In the input field it is possible to enter an image or a text but there are some
   issues, when you enter some more content because the pugin put the content of
   this field into a link. It should be better to have only the text field without
   the link generation.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Post to PDF Enhanced] Post images not included](https://wordpress.org/support/topic/post-images-not-included/)
 *  Thread Starter [nima1](https://wordpress.org/support/users/nima1/)
 * (@nima1)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/post-images-not-included/#post-4577890)
 * Hello,
 * I do not have a public example. In the PHP log files the error is shown, that
   for example the function createfrompng can not find the image /files/image.png.
 * Of course because the folder is a virtual directory. I think it is not related
   only to the wordpress rewrite rules. Many sites use htaccess rewrite rules or
   virtual webserver directories. In all cases there will be the same problem.
 * But one question:
    Does it work when the absolute url with http:// is stored 
   in the post content? So can the PHP function call the image from a url?
 * This is not a solution because then a further problem will occur. This is described
   in the other topic related to relative paths and for example a private site it
   is more a general question.
    Maybe it is possible to render the images with the
   html img tag and rewrite/add the path with the called server name before process
   to TCPDF.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] WordPress 3.8 with WP Domain Mapping url issue](https://wordpress.org/support/topic/wordpress-38-with-wp-domain-mapping-url-issue/)
 *  Thread Starter [nima1](https://wordpress.org/support/users/nima1/)
 * (@nima1)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/wordpress-38-with-wp-domain-mapping-url-issue/#post-4417868)
 * Hello Chouby,
 * sorry for the late reply. I have checked the new version with the constant and
   it is working without problems now.
 * Thank you very much.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] WordPress 3.8 with WP Domain Mapping url issue](https://wordpress.org/support/topic/wordpress-38-with-wp-domain-mapping-url-issue/)
 *  Thread Starter [nima1](https://wordpress.org/support/users/nima1/)
 * (@nima1)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/wordpress-38-with-wp-domain-mapping-url-issue/#post-4417824)
 * Hello Chouby,
 * Thank you, I will check soon and let you know.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] WordPress 3.8 with WP Domain Mapping url issue](https://wordpress.org/support/topic/wordpress-38-with-wp-domain-mapping-url-issue/)
 *  Thread Starter [nima1](https://wordpress.org/support/users/nima1/)
 * (@nima1)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/wordpress-38-with-wp-domain-mapping-url-issue/#post-4417806)
 * Hello Chouby,
 * the problem is not related to the Polylang functions.
 * The problem is that Polylang rewrites the urls only to the specified domain in
   the home url property. This problem only occur when you use some multi site functions
   and the domain mapping plugin so with multi domain for one blog.
 * Example:
 * Multisite Installation with 2 Blogs
    Blog 1 has 4 domains Blog 2 has 1 domain
 * Before the update yo can reach the complete blog with every domain specified 
   in multisite domain mapping for example blog1.com, blog1.org…
    The domains are
   not related to languages, it is a general function.
 * Now only one domain is working correct because all links in the site with home
   url are rewritten to the specified link in the database. When the user click 
   such link it is on another domain.
 * For Blog 2 there is only one domain so there is no problem
 * Is it more clear now?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] WordPress 3.8 with WP Domain Mapping url issue](https://wordpress.org/support/topic/wordpress-38-with-wp-domain-mapping-url-issue/)
 *  Thread Starter [nima1](https://wordpress.org/support/users/nima1/)
 * (@nima1)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/wordpress-38-with-wp-domain-mapping-url-issue/#post-4417780)
 * Hello Chouby,
 * the problem is, that the complete domain mapping does not work any more. When
   you have a multi site installation with multi domains for a site only one is 
   working now. Before you can reach the site with every domain and all links were
   rewritten to the domain the user opened in the browser.
 * WP Domain Mapping is managing multi domains for one blog/site.
 * Is it more clear now?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] WordPress 3.8 with WP Domain Mapping url issue](https://wordpress.org/support/topic/wordpress-38-with-wp-domain-mapping-url-issue/)
 *  Thread Starter [nima1](https://wordpress.org/support/users/nima1/)
 * (@nima1)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/wordpress-38-with-wp-domain-mapping-url-issue/#post-4417761)
 * Hello Chouby,
 * when I change the home url property manually in the settings of the site and 
   resave the Polylang settings the new domain is shown correctly.
 * But of course you had to decide for one domain multi domain does not work any
   more which is not good. For example when you have a multi site installation with
   internal and external sites there are now many problems.
 * Maybe you can integrate an option or do not safe the domain (only path) in general?

Viewing 10 replies - 1 through 10 (of 10 total)