Removing Custom Domain in Github - r

I want to remove custom Domain from Github. Any help, please.
Actually I want get https://myaseen208.github.io/DiallelAnalysisR/ rather than http://www.myaseen208.com/DiallelAnalysisR/ as given the following picture.

As illustrated in isaacs/github issue 1213 (which shows a similar problem), you should have a CNAME file
But not in: github.com/MYaseen208/DiallelAnalysisR
In the repo github.com/myaseen208/myaseen208.github.io (same as in the issue 1213): this CNAME file, which does include:
www.myaseen208.com
Apparently your user's GitHub domain automatically comes from your {username}.github.io repo
Start by removing that file, and see if that changes anything (wait a bit, and clear your browser local cache)

I was having the same issue. I resolved it by emptying the custom domain field, then entering a space in the same field so that you can activate the save button (Note: the save button will not let you save if the field is empty).
After you hit save, your page will reload and you will be able to see this again

Delete the content of the text box and press “Save”

If you want your user name's GitHub domain back which automatically comes from your {username}.github.io repo then simply empty the custom domain input field and enter a space in the custom domain field in order to activate the save button as the save button will not let you save until the field is empty.
Hit save & your page will reload and you will see your static site live on your Github username domain.

Related

WooCommerce Store Notice does not update with new text

I've inherited a WooCommerce Storefront and need to post a message with the Store Notice feature.
I have updated the text, enable it and publish.
I expect the new text to appear on the banner - in my case on top of the page - but right away the text reverts to an old message. When I go back to the settings page, that old text is in the text area so obviously it overwrote my newly inserted message.
I searched for the string in all the code and it's not hardcoded but I can't find from where it's fetching it.
The only way of making it change is by deleting all the text box and then a 'default' demo text appears in the store notice.
Any clue where is that text stored and why I can't update it with a new message?
A couple of ideas:
1) Are you sure you are not seeing a cache? That seems most likely. Try deactivating all caching plugins (WP Rocket, W3 Total Cache, Swift Performance etc), clearing all cache and viewing the website in Incognito mode / new browser.
2) This may be stored as a setting in the wp_options table. You could check that for the new/old string
3) Are you logged in as Admin? Perhaps you don't have permission to change that string?

Change Field name And Reflacte on wordpress front side

I have One Field And Second Field When i Change Data Field one with one name Immedialtly Change Field name Also On Front side Of my site without Refresh.
Describe On Brief
Like Dev tool When We Change Css and effect Immedialty See On Page.
I Need Plugin Like That.
Thank In Advance.
And Sorry For Bad English.
You need to use Ajax calls here.
Make a script that hits in every 3 seconds and under that script make a script code on frontend of the website, which will pick current value from database and show changes according to that on frontend.

Server name in urls after domain migration - wordpress

I migrated a domain to a new server and now I see some url's with server name in source code, instead of domain name. For example:
http://servername.com/wp-includes/js/jquery/jquery.js
http://servername.com/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=4.5
also can't login to admin panel via proper url:
http://my-domain.com/wp-admin
redirects me to
http://servername.com/wp-admin
Site works fine beside that. How do I set this up correctly?
In the wp_options table in the database, you'll need to change the siteurl value.
For full how-to see here
Backup your database and save the copy off-site.
Login to phpMyAdmin.
Click the link to your Databases.
A list of your databases will appear. Choose the one that is your WordPress database.
All the tables in your database will appear on the screen.
From the list, look for wp_options. Note: The table prefix of wp_ may be different if you changed it when installing.
Click on the small icon indicated as Browse.
A screen will open with a list of the fields within the wp_options table.
Under the field option_name, scroll down and look for siteurl.
Click the Edit Field icon which usually is found at the far left at the beginning of the row.
The Edit Field window will appear.
In the input box for option_value, carefully change the URL information to the new address.
Verify this is correct and click Go to save the information.
You should be returned to your wp_options table.
Look for the home field in the table and click Edit Field. Note There are several pages of tables inside wp_options. Look for the >
symbol to page through them.
In the input box for option_value, carefully change the URL information to the new address.
Verify this is correct and click Go to save the information.

Rename-ing some woocommerce fields

I have been having some hard times trying to configure my website.
I have been looking left and right on the internet for how can i rename certain fields on my webpage. I came to a point were i dint find any more snippets that i can use. If someone is kind enough to hekp me with the snippets for the bellow problems i would be extremly grateful :D
1) Login/ Registration form
i have renamed the Login and regitration form, but i cant rename or completly remove the recover password button ( i tried 4-5 snippetes so far and non worked)
2) On my Account page i did some editing with the gettext snipped, but i wasn't able to translate the following word "Logout" and "edit your password and account details"
3) i don't know how to translate the "search producs", the content of the box
4) i dont know how to rename the "apply coupon" button and the content of the box. For this one i used some snippets, but nothing happened :(
bellow, you can see my website
http://www.toner.eurofinconsulting.ro/wp/
Making adjustments like you have referenced are fairly simple to do in Woocommerce. Having said that, one of the first things to understand is how to correctly make changes to Woo template files. The easiest thing to do is to copy the entire directory /wp-content/plugins/woocommerce/templates to the root of your theme in a directory named YOUR_THEME/woocommerce. This now allows you to adjust any of the templates without touching files in the plugin directory (which you should NEVER do) while retaining the ability to update Woocommerce as updates are available.
Now, to make your changes:
Login/registration form - All changes you need can now be made in wp-content/themes/YOUR_THEME/woocommerce/my-account/form-login.php
Changes for this can be made in wp-content/themes/YOUR_THEME/woocommerce/my-account/my-account.php.
Changes to the search form - If this is using the Woocommerce search form, try making your changes in wp-content/themes/YOUR_THEME/woocommerce/product-searchform.php. If it is not there then try finding the search template used by your Wordpress theme.

Getting nodes to update with content type changes in Drupal 7

I have a local build of Drupal 7 with Xampp on windows. When I add a field to a node's content type, I see the field appear last, no matter what order I put the field in Content types > [myType] > Manage fields. I would tend to think this is a cache problem... but I've tried Configuration > Performance > Clear all caches, and the order of the fields does not update.
For example, I currently have an image field, a display title field, and a body field. In the Manage Fields lightbox, the order of the fields is:
Image
Display Title (New field, I'm not using the default title because Drupal always places is above the image instead of after)
Body
However, on the page the order is
Image
Body
Display Title
This is not just a trick caused by funky CSS—the PHP is actually creating the HTML in the wrong order.
I'm guessing that Drupal updates when you add a new field (which appears last by default when created). It does not update when fields are repositioned in Manage Fields, leaving the title last on the page, although it's second in Manage Fields.
And yes, I did save the configuration after repositioning the fields in Manage Fields. I've also cleared the browser cache, and restarted the browser.
How can I get Drupal to display the fields in the order they appear in Manage Fields?
P.S. I also downloaded Drush to see if it could clear the cache. The Drush command line works, but none of the tutorials I found actually explain how to hook Drush up to a local install, only how to SSH into remote server... I typed in 'drush cc' my drupal folder, but I don't know if Drush actually did anything since I don't know how to make drush connect to my localhost.
Not a complete answer, but 'Manage Display' does not, in fact, Manage the Display. It manages the order of the fields when editing a content type, but does not influence the order in which they are displayed.
So, I was looking at it again (figuring I would have to edit into printing individual fields in the content)... and I was looking at the Devel tab (Developer module), and clicked 'render.' Some how that fixed / updated the page, and the title jumped from the bottom to above the body text.
Still not sure exactly what controls the order that fields display in... Maybe I'm a complete n00b, but if the info's out there, it's hard to find.

Resources