jeeremie
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Want users to have self-edited portfolio pagessame question here. Could anyone answer this?
Hmm, I found the problem. In the dashboard, I had set to exclude category 129: “Excluded Categories – Categories by ID you want excluded everywhere in WPtouch.”
Before this option only excluded from the blog, not from pages. (I forgot to mention the code above is in portfolio.php).
Forum: Plugins
In reply to: Shoutbox / live chat pluginsForum: Fixing WordPress
In reply to: Megadropdown Sub-Menu works locally, but not on remote serverI had a similar problem. I am so glad I found this thread otherwise I would still be pulling my hairs out. ?? I changed the file permissions for my 2 jQuery scripts from 644 to 755 and now everything works fine. Thanks @jefcre!
Forum: Fixing WordPress
In reply to: 404 Error when using pretty permalink, in local mode.Stéphane, I didn’t have to change all the
AllowOverride None
toAllowOverride All
in httpd.conf. You just need to change one forDirectory "${path}/www
and it works:# DocumentRootDirectory <Directory "${path}/www"> # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # https://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride All # # Controls who can get stuff from this server. # Order allow,deny Allow from all </Directory>
I restarted Apache and it worked right away.
Ok, I had time to check your code. That works for description but not for url
your code get_the_author_meta(‘user_url’); returns the author website but I want to get the author page on the site. It should be something like https://domain.com/?author=1
So far my code is :
View <?php the_author_posts_link(); ?>'s Profile »
… which returns the post author name with a link to his profile/author page (e.g. https://domain.com/?author=1)
How should I proceed to retrieve only the url and remove the post author name? (I’d like to write “View Full Profile” and make it a link to the author page).
Thanks for your time.
Thanks. I will try that and let you know.
Forum: Everything else WordPress
In reply to: I have been ripped off. How can I protect myself.Thanks.
Forum: Fixing WordPress
In reply to: sidebar login plugin – registration in sidebar too?It would be nice if you could post your code here for further reference. Some people (me included) might be interested to see your code.
Thanks!
Forum: Themes and Templates
In reply to: wp-caption – How to set the right and left padding for captionsYes, .wp-caption img {width:100%!important;height:auto!important} is working. Thanks. What’s weird is that my caption renders at 480px and not 470px!! I am still wondering why.
Anyway, thanks. This partially solve my problem.
Forum: Themes and Templates
In reply to: wp-caption – How to set the right and left padding for captionsThanks, I understand perfectly what you said and I am telling you padding:3px !important; is not working. I have been coding with HTML/CSS for about 3 years. I am not a complete idiot! ??
I have also tried the Stylish plugin and doesn’t work either.
The wp-caption DIV is rendered at 480px, and the image is 470px… so it would appear like you have padding, which is not the case, it’s just the DIV is larger then the image and the image is being centered.
If you look at the code below, both caption width and image width are set to 470px so the wp-caption DIV is not supposed to be rendered at 480px! That’s why I think something in my CSS must be overriding my settings.
[caption id="attachment_138" align="aligncenter" width="470" caption="Lorem ipsum dolor sit amet"]<img src="https://web-kreation.com/demos/oneroom/wp-content/uploads/2009/02/nature-1.jpg" alt="Lorem ipsum dolor sit amet" title="nature-1" width="470" height="180" class="size-full wp-image-138" />[/caption]
Of course, I could fill the space as you suggest and it would work:
[caption id="attachment_138" align="aligncenter" width="460" caption="Lorem ipsum dolor sit amet"]<img src="https://web-kreation.com/demos/oneroom/wp-content/uploads/2009/02/nature-1.jpg" alt="Lorem ipsum dolor sit amet" title="nature-1" width="470" height="180" class="size-full wp-image-138" />[/caption]
But as I told you at the beginning, I don’t want to edit the html or my images.
Regarding your off-topic, as you said it is “off topic” and I have reasons not to talk about it on this forum.
Forum: Themes and Templates
In reply to: wp-caption – How to set the right and left padding for captionsBy the way, I forgot to answer you.
I had tried “padding:3px” before posting here and it didn’t work. Something in my code must be overriding wp-caption but what?
Here’s the code for the img caption:
[caption id="attachment_138" align="aligncenter" width="470" caption="Lorem ipsum dolor sit amet"]<img src="https://web-kreation.com/demos/oneroom/wp-content/uploads/2009/02/nature-1.jpg" alt="Lorem ipsum dolor sit amet" title="nature-1" width="470" height="180" class="size-full wp-image-138" />[/caption]
If I set the CSS like so:
.wp-caption{background-color:#EFEFED;border:1px solid #D0D0CE;margin-bottom:15px;margin-top:15px;padding:0px;text-align:center}… it gives me this: “padding-top:0px; padding-left:5px; padding-right:5px;”
Forum: Themes and Templates
In reply to: wp-caption – How to set the right and left padding for captionst31os, please contact me at info ^at^ web-kreation ^dot^ com if you want to remove the link in the footer. Thanks
Forum: Themes and Templates
In reply to: wp-caption – How to set the right and left padding for captionsForum: Themes and Templates
In reply to: wp-caption – How to set the right and left padding for captionsYes, you can see an image caption at https://web-kreation.com/demos/oneroom/index.php/animals/oneroom-free-wordpress-theme-by-web-kreation/