hboytaiwan
Forum Replies Created
-
Forum: Plugins
In reply to: custom URL in Jetpack tile galleryHey,
Really thanks but I tried to replace those parts (4 in total) still not working! maybe I should just code. But it’s very kind of you to reply me ?? Hope I could find out how soon! MANY THANKS!!!!
It would be wonderful if you could see more methods for this issue!!
Forum: Plugins
In reply to: custom URL in Jetpack tile galleryMany thanks!! I think I googled to this stackoverflow forum before, just I really don’t know how to add those code into the one you gave us. Hope you wouldn’t mind helping me how to open the custom url in new tab for tiled gallery!
THANKS!
Forum: Plugins
In reply to: custom URL in Jetpack tile galleryHey sorry,
I just fixed the problem.. Some php error I think.
Another issue for me is “how to open the url in new tab by coding in this?”
THANKS!
Forum: Plugins
In reply to: custom URL in Jetpack tile galleryHi,
I tried this method, paste
private function get_link_url( $image ){ $alt_text = get_post_meta($image->ID, '_wp_attachment_image_alt', true); if( $alt_text != ""){ // should probably check if it's a URL with regex... return $alt_text; } $link = $this->get_attachment_link( $image->ID, $orig_file ); $search_text = "/project/"; $project_pos = strpos($link, $search_text); if($project_pos !== FALSE){// this checks if the link is already a project and truncates the URL at the project itself instead of the project picture, since this is was the primary use case in my project return substr($link, 0, strpos($link, "/", $project_pos + strlen($search_text)) + 1); } return $link; }
to tiled-gallery.php
and ectangular_talavera and square_talavera where I changed
$link = $this->get_attachment_link( $image->ID, $orig_file );
to
$link = $this->get_link_url($image);then my website went blank.
Not sure which steps I did wrong or just this method not fit to my theme?
https://hxxa.info
THANKS A LOTForum: Installing WordPress
In reply to: can't run "wp-admin/install.php" after all setting upheyyy sorry, the former problem seems solved. i found a way to install wordpress by enter https://199.201.89.29/~stefan/
and now the problem is i know it’s temporary url, how i redirect it or make it to the domain i want? which is https://postgaming.com
thankssss
Forum: Installing WordPress
In reply to: can't run "wp-admin/install.php" after all setting upit’s a new domain, and maybe you right, i should do something about DNS. but i don’t know what should i do? thanks for your help!!!!